Commit 98ede2ed authored by Brett Rudley's avatar Brett Rudley Committed by Greg Kroah-Hartman

staging: brcm80211: OSLREGOPS is unused, remove checks for it.

Signed-off-by: default avatarBrett Rudley <brudley@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3d44661a
...@@ -128,8 +128,6 @@ extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size, ...@@ -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)) #define bcopy(src, dst, len) memcpy((dst), (src), (len))
/* register access macros */ /* register access macros */
#if defined(OSLREGOPS)
#else
#ifndef IL_BIGENDIAN #ifndef IL_BIGENDIAN
#ifndef __mips__ #ifndef __mips__
#define R_REG(osh, r) (\ #define R_REG(osh, r) (\
...@@ -220,8 +218,6 @@ extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size, ...@@ -220,8 +218,6 @@ extern void osl_dma_unmap(struct osl_info *osh, uint pa, uint size,
} while (0) } while (0)
#endif /* IL_BIGENDIAN */ #endif /* IL_BIGENDIAN */
#endif /* OSLREGOPS */
#define AND_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) & (v)) #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)) #define OR_REG(osh, r, v) W_REG(osh, (r), R_REG(osh, r) | (v))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment