aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/et131x/et1310_pm.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-19 18:21:56 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:26 -0700
commit20dedd3faa8785937df45e8518f3930be7110d96 (patch)
tree792e761e9cfb7606ca99734e9ab855509b6273b0 /drivers/staging/et131x/et1310_pm.h
parent37628606661a8a1d3abfa5bb898426a38fa62b73 (diff)
Staging: et131x: power state
This is assigned once to ndis d0, and then never changes so it is a constant and we can zap it Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et1310_pm.h')
-rw-r--r--drivers/staging/et131x/et1310_pm.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/et131x/et1310_pm.h b/drivers/staging/et131x/et1310_pm.h
index dca9977f59a..8e06039537e 100644
--- a/drivers/staging/et131x/et1310_pm.h
+++ b/drivers/staging/et131x/et1310_pm.h
@@ -66,15 +66,6 @@
#define NUM_WOL_PATTERNS 0x5
#define CRC16_POLY 0x1021
-/* Definition of NDIS_DEVICE_POWER_STATE */
-typedef enum {
- NdisDeviceStateUnspecified = 0,
- NdisDeviceStateD0,
- NdisDeviceStateD1,
- NdisDeviceStateD2,
- NdisDeviceStateD3
-} NDIS_DEVICE_POWER_STATE;
-
typedef struct _MP_POWER_MGMT {
/* variable putting the phy into coma mode when boot up with no cable
* plugged in after 5 seconds
@@ -97,7 +88,6 @@ typedef struct _MP_POWER_MGMT {
} IPAddress;
/* Current Power state of the adapter. */
- NDIS_DEVICE_POWER_STATE PowerState;
bool WOLState;
bool WOLEnabled;
bool Failed10Half;