From: nohee ko Date: Sat, 9 Oct 2010 17:41:05 +0000 (-0700) Subject: staging: brcm80211: remove unnecessary cflag, LINUX X-Git-Tag: v2.6.37-rc1~60^2~3^2~179 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=839fad996bf0eba85c0c6aa67ba8d89d051b6749;p=karo-tx-linux.git staging: brcm80211: remove unnecessary cflag, LINUX remove unnecessary cflag, LINUX Signed-off-by: Nohee Ko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmfmac/Makefile b/drivers/staging/brcm80211/brcmfmac/Makefile index 8f8cfe23c05b..76f2d8b37e45 100644 --- a/drivers/staging/brcm80211/brcmfmac/Makefile +++ b/drivers/staging/brcm80211/brcmfmac/Makefile @@ -28,7 +28,6 @@ ccflags-y := \ -DDHD_SCHED \ -DDHD_SDALIGN=64 \ -DEMBEDDED_PLATFORM \ - -DLINUX \ -DMAX_HDR_READ=64 \ -DMMC_SDIO_ABORT \ -DPKT_FILTER_SUPPORT \ diff --git a/drivers/staging/brcm80211/brcmfmac/dhd.h b/drivers/staging/brcm80211/brcmfmac/dhd.h index 332e99e500af..04c71345cfb6 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd.h +++ b/drivers/staging/brcm80211/brcmfmac/dhd.h @@ -21,7 +21,6 @@ #ifndef _dhd_h_ #define _dhd_h_ -#if defined(LINUX) #include #include #include @@ -38,14 +37,6 @@ #include #endif /* defined (CONFIG_HAS_WAKELOCK) */ /* The kernel threading is sdio-specific */ -#else /* LINUX */ -#define ENOMEM 1 -#define EFAULT 2 -#define EINVAL 3 -#define EIO 4 -#define ETIMEDOUT 5 -#define ERESTARTSYS 6 -#endif /* LINUX */ #include