diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-01 15:08:21 +0200 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2024-04-02 08:31:08 +0200 |
commit | f6c86fdf3716c9257612f8f001c6e95db84fb844 (patch) | |
tree | 6dbb6920f245ba8d75a2ccfc1346370b88ead25e /drivers/fpga | |
parent | fpga: altera: drop driver owner assignment (diff) | |
download | linux-f6c86fdf3716c9257612f8f001c6e95db84fb844.tar.xz linux-f6c86fdf3716c9257612f8f001c6e95db84fb844.zip |
fpga: altera-cvp: Remove an unused field in struct altera_cvp_conf
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>
Diffstat (limited to 'drivers/fpga')
-rw-r--r-- | drivers/fpga/altera-cvp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c index 4ffb9da537d8..6b0914432445 100644 --- 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, |