staging/rtl8712 : Remove duplicated BIT() definitions

The BIT() macro is already defined in bitops.h,
remove duplicate definitions.

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Anish Bhatt 2015-09-09 15:57:10 -07:00 committed by Greg Kroah-Hartman
parent 27934f362a
commit 4c021dc0b8
2 changed files with 0 additions and 9 deletions

View file

@ -60,10 +60,6 @@ struct __queue {
#define LIST_CONTAINOR(ptr, type, member) \
((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))
#ifndef BIT
#define BIT(x) (1 << (x))
#endif
static inline u32 _down_sema(struct semaphore *sema)
{
if (down_interruptible(sema))

View file

@ -28,11 +28,6 @@
#include <linux/compiler.h>
#ifdef BIT
#undef BIT
#endif
#define BIT(x) (1 << (x))
#define WLAN_IEEE_OUI_LEN 3
#define WLAN_CRC_LEN 4
#define WLAN_BSSID_LEN 6