projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97fc99
)
fpga: altera-cvp: Remove an unused field in struct altera_cvp_conf
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Mon, 1 Apr 2024 13:08:21 +0000
(15:08 +0200)
committer
Xu Yilun
<yilun.xu@linux.intel.com>
Tue, 2 Apr 2024 06:31:08 +0000
(14:31 +0800)
In "struct altera_cvp_conf", the 'mgr' field is unused.
Remove it.
Found with cppcheck, unusedStructMember.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link:
https://lore.kernel.org/r/7986690e79fa6f7880bc1db783cb0e46a1c2723e.1711976883.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
drivers/fpga/altera-cvp.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/altera-cvp.c
b/drivers/fpga/altera-cvp.c
index 4ffb9da537d82cc9d7a3b4e98ac352c36005883e..6b09144324453045386171e76b8904c6818931f3 100644
(file)
--- a/
drivers/fpga/altera-cvp.c
+++ b/
drivers/fpga/altera-cvp.c
@@
-72,7
+72,6
@@
static bool altera_cvp_chkcfg;
struct cvp_priv;
struct altera_cvp_conf {
- struct fpga_manager *mgr;
struct pci_dev *pci_dev;
void __iomem *map;
void (*write_data)(struct altera_cvp_conf *conf,