diff options
author | Anish Bhatt <anish7@gmail.com> | 2015-09-13 22:00:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-14 08:50:48 -0700 |
commit | 6dd19f19a5e2fb78681e5f33431200e2b5aec763 (patch) | |
tree | f62d77bdaa306735291483c06b67d94c7fe6e34a /drivers/staging/rtl8188eu/include/rtl8188e_spec.h | |
parent | 9137f812e911fc8030e8b954b097e62e29691154 (diff) |
staging/rtl8188eu : Remove duplicated BIT() definitions
The BIT() macro is already defined in bitops.h, remove duplicate
definitions. Users of BIT() macro are expecting unsigned int/u32, so
add typecasts where this creates a build warning.
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include/rtl8188e_spec.h')
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtl8188e_spec.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_spec.h b/drivers/staging/rtl8188eu/include/rtl8188e_spec.h index 2c33eb30d31b..e99179a794af 100644 --- a/drivers/staging/rtl8188eu/include/rtl8188e_spec.h +++ b/drivers/staging/rtl8188eu/include/rtl8188e_spec.h @@ -19,10 +19,6 @@ #ifndef __RTL8188E_SPEC_H__ #define __RTL8188E_SPEC_H__ -#ifndef BIT -#define BIT(x) (1 << (x)) -#endif - #define BIT0 0x00000001 #define BIT1 0x00000002 #define BIT2 0x00000004 |