diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2012-08-29 15:59:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 14:14:08 -0700 |
commit | 73ee07faeec88b15ef4ffa412622fc2c021ca8ff (patch) | |
tree | c9b5a7720560eb9d8f9f5e4cd9cf7ed3ffc3e8f6 /drivers/staging/rtl8712/rtl871x_pwrctrl.h | |
parent | 5ca136a0cb96aabcb3c2158fb958677d55915f93 (diff) | |
download | op-kernel-dev-73ee07faeec88b15ef4ffa412622fc2c021ca8ff.zip op-kernel-dev-73ee07faeec88b15ef4ffa412622fc2c021ca8ff.tar.gz |
staging: r8712u: Remove defines that are not used
This driver has a number of defines, etc. that are not used.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_pwrctrl.h')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_pwrctrl.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_pwrctrl.h b/drivers/staging/rtl8712/rtl871x_pwrctrl.h index 6024c4f..70ff924f 100644 --- a/drivers/staging/rtl8712/rtl871x_pwrctrl.h +++ b/drivers/staging/rtl8712/rtl871x_pwrctrl.h @@ -30,26 +30,7 @@ #include "drv_types.h" -#define FW_PWR0 0 -#define FW_PWR1 1 -#define FW_PWR2 2 -#define FW_PWR3 3 - - -#define HW_PWR0 7 -#define HW_PWR1 6 -#define HW_PWR2 2 -#define HW_PWR3 0 -#define HW_PWR4 8 - -#define FW_PWRMSK 0x7 - - -#define XMIT_ALIVE BIT(0) -#define RECV_ALIVE BIT(1) #define CMD_ALIVE BIT(2) -#define EVT_ALIVE BIT(3) - enum Power_Mgnt { PS_MODE_ACTIVE = 0 , @@ -66,7 +47,6 @@ enum Power_Mgnt { PS_MODE_NUM }; - /* BIT[2:0] = HW state BIT[3] = Protocol PS state, 0: register active state, |