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 <tklau...@distanz.ch>
---
 drivers/staging/vt6655/device.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
index 7db0404..5e41b19 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;
-- 
2.0.1


_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to