Skip to content

Commit

Permalink
staging: vt6655: Remove unused member from struct vnt_private
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and Greg Kroah-Hartman committed Sep 11, 2014
1 parent 1299b72 commit 46ef688
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/vt6655/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 46ef688

Please sign in to comment.