aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/rtl8188eu/include/rtl8188e_spec.h
diff options
context:
space:
mode:
authorAnish Bhatt <anish7@gmail.com>2015-09-13 22:00:44 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-14 08:50:48 -0700
commit6dd19f19a5e2fb78681e5f33431200e2b5aec763 (patch)
treef62d77bdaa306735291483c06b67d94c7fe6e34a /drivers/staging/rtl8188eu/include/rtl8188e_spec.h
parentstaging: sm750fb: ddk750_*i2c: shorten lines to under 80 characters (diff)
downloadwireguard-linux-6dd19f19a5e2fb78681e5f33431200e2b5aec763.tar.xz
wireguard-linux-6dd19f19a5e2fb78681e5f33431200e2b5aec763.zip
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.h4
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