mirror of https://gitee.com/openkylin/linux.git
staging: brcm80211: OSLREGOPS is unused, remove checks for it.
Signed-off-by: Brett Rudley <brudley@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3d44661ad1
commit
98ede2ed46
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue