projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1299b72
)
staging: vt6655: Remove unused member from struct vnt_private
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 10 Sep 2014 07:34:49 +0000
(09:34 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/device.h
b/drivers/staging/vt6655/device.h
index
7db0404
..
5e41b19
100644
(file)
--- 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;