summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/device.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-07-28 23:26:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-30 17:08:20 -0700
commit9f34de35d57c75b769c8ee48ab88ef8bdb7d1bd4 (patch)
tree71a7511fcd058de9cc1392548b69fbcd78f92f7c /drivers/staging/vt6655/device.h
parentfbf515b81569585c8f404bc12fbcc59e44fdcd85 (diff)
downloadop-kernel-dev-9f34de35d57c75b769c8ee48ab88ef8bdb7d1bd4.zip
op-kernel-dev-9f34de35d57c75b769c8ee48ab88ef8bdb7d1bd4.tar.gz
staging: vt6655: remove typedef enum __device_init_type
The value is either DEVICE_INIT_COLD or DEVICE_INIT_DXPL making no difference to code. Remove typedef and remove if statement in device_init_registers pulling the code in. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device.h')
-rw-r--r--drivers/staging/vt6655/device.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
index b36c631..9bf0ea9 100644
--- a/drivers/staging/vt6655/device.h
+++ b/drivers/staging/vt6655/device.h
@@ -185,12 +185,6 @@ typedef enum __device_msg_level {
MSG_LEVEL_DEBUG = 4 //Only for debug purpose.
} DEVICE_MSG_LEVEL, *PDEVICE_MSG_LEVEL;
-typedef enum __device_init_type {
- DEVICE_INIT_COLD = 0, // cold init
- DEVICE_INIT_RESET, // reset init or Dx to D0 power remain init
- DEVICE_INIT_DXPL // Dx to D0 power lost init
-} DEVICE_INIT_TYPE, *PDEVICE_INIT_TYPE;
-
//++ NDIS related
#define MAX_BSSIDINFO_4_PMKID 16
OpenPOWER on IntegriCloud