From: Tobias Klauser Date: Wed, 10 Sep 2014 07:34:49 +0000 (+0200) Subject: staging: vt6655: Remove unused member from struct vnt_private X-Git-Tag: firefly_0821_release~176^2~3121^2~449 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=46ef6886ac5324058898a4e84cad029f06de8b18;p=firefly-linux-kernel-4.4.55.git staging: vt6655: Remove unused member from struct vnt_private The pci_state member of struct vnt_private is used nowhere in the code, so remove it. Supposedly it was used to save the PCI configuration space which is now done using pci_save_state(). Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 7db0404f6f2b..5e41b19dc127 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -333,10 +333,6 @@ typedef struct __device_opt { struct vnt_private { struct pci_dev *pcid; -#ifdef CONFIG_PM - u32 pci_state[16]; -#endif - // netdev struct net_device *dev; struct net_device_stats stats;