staging: brcm80211: OSLREGOPS is unused, remove checks for it.
authorBrett Rudley <brudley@broadcom.com>
Sat, 4 Dec 2010 00:30:36 +0000 (16:30 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Dec 2010 00:07:08 +0000 (16:07 -0800)
Signed-off-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/osl.h

index 2368c80db60a0df991b4a7d7d1768de6d7e33580..b543bbbae3da0e3ece23cb8004342449b1a3fc24 100644 (file)
@@ -128,8 +128,6 @@ extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
 #define        bcopy(src, dst, len)    memcpy((dst), (src), (len))
 
 /* register access macros */
-#if defined(OSLREGOPS)
-#else
 #ifndef IL_BIGENDIAN
 #ifndef __mips__
 #define R_REG(osh, r) (\
@@ -220,8 +218,6 @@ extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
        } while (0)
 #endif                         /* IL_BIGENDIAN */
 
-#endif                         /* OSLREGOPS */
-
 #define        AND_REG(osh, r, v)              W_REG(osh, (r), R_REG(osh, r) & (v))
 #define        OR_REG(osh, r, v)               W_REG(osh, (r), R_REG(osh, r) | (v))