staging: vt6655: Remove unused member from struct vnt_private
authorTobias Klauser <tklauser@distanz.ch>
Wed, 10 Sep 2014 07:34:49 +0000 (09:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:56:51 +0000 (14:56 -0700)
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 <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h

index 7db0404..5e41b19 100644 (file)
@@ -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;