]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: brcm80211: Remove unused code from osl.h
authorBrett Rudley <brudley@broadcom.com>
Wed, 1 Dec 2010 23:36:38 +0000 (15:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Dec 2010 20:28:48 +0000 (12:28 -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 662b5197b37498a8a99987c1567da83af8bd665a..c2fa2975c955d19038da721149cee53e7a124916 100644 (file)
@@ -38,22 +38,10 @@ typedef struct osl_dmainfo osldma_t;
 typedef unsigned int (*osl_rreg_fn_t) (void *ctx, void *reg, unsigned int size);
 typedef void (*osl_wreg_fn_t) (void *ctx, void *reg, unsigned int val,
                               unsigned int size);
-#endif
+#endif /* BCMSDIO */
 
 #include <linux_osl.h>
 
-/* --------------------------------------------------------------------------
-** Register manipulation macros.
-*/
-
 #define        SET_REG(osh, r, mask, val)      W_REG((osh), (r), ((R_REG((osh), r) & ~(mask)) | (val)))
 
-#ifndef AND_REG
-#define AND_REG(osh, r, v)             W_REG(osh, (r), R_REG(osh, r) & (v))
-#endif                         /* !AND_REG */
-
-#ifndef OR_REG
-#define OR_REG(osh, r, v)              W_REG(osh, (r), R_REG(osh, r) | (v))
-#endif                         /* !OR_REG */
-
-#endif                         /* _osl_h_ */
+#endif /* _osl_h_ */