Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Christophe JAILLET and committed by
Xu Yilun
f6c86fdf a97fc99a

-1
-1
drivers/fpga/altera-cvp.c
··· 72 72 struct cvp_priv; 73 73 74 74 struct altera_cvp_conf { 75 - struct fpga_manager *mgr; 76 75 struct pci_dev *pci_dev; 77 76 void __iomem *map; 78 77 void (*write_data)(struct altera_cvp_conf *conf,