aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Rudley <[email protected]>2010-12-03 16:30:36 -0800
committerGreg Kroah-Hartman <[email protected]>2010-12-06 16:07:08 -0800
commit98ede2ed46cef38e98c8341d410323895f60570e (patch)
treed1c7f1ebfbc9d56cd337ae88212c8f1f990f35c2
parent3d44661ad1f6336345a9f7765afef6d0aeac543e (diff)
staging: brcm80211: OSLREGOPS is unused, remove checks for it.
Signed-off-by: Brett Rudley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/brcm80211/include/osl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/brcm80211/include/osl.h b/drivers/staging/brcm80211/include/osl.h
index 2368c80db60a..b543bbbae3da 100644
--- a/drivers/staging/brcm80211/include/osl.h
+++ b/drivers/staging/brcm80211/include/osl.h
@@ -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))