projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d44661
)
staging: brcm80211: OSLREGOPS is unused, remove checks for it.
author
Brett Rudley
<brudley@broadcom.com>
Sat, 4 Dec 2010 00:30:36 +0000
(16:30 -0800)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/staging/brcm80211/include/osl.h
b/drivers/staging/brcm80211/include/osl.h
index 2368c80db60a0df991b4a7d7d1768de6d7e33580..b543bbbae3da0e3ece23cb8004342449b1a3fc24 100644
(file)
--- 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))