Staging: brcm80211: remove some unused macros
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 23:25:58 +0000 (16:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 7 Oct 2010 23:25:58 +0000 (16:25 -0700)
These are all defined by the core kernel, use those versions
instead of just creating noops.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/include/linuxver.h

index 96de383af57ac0e594c10d525c60bdee91d0442d..921cf66636f8ae6236d8a13512dc7ff826727966 100644 (file)
@@ -39,24 +39,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs);
 #include <linux/sched.h>
 #include <linux/ieee80211.h>
 
-#ifndef __exit
-#define __exit
-#endif
-#ifndef __devexit
-#define __devexit
-#endif
-#ifndef __devinit
-#define __devinit      __init
-#endif
-#ifndef __devinitdata
-#define __devinitdata
-#endif
-#ifndef __devexit_p
-#define __devexit_p(x) x
-#endif
-
-#define netif_down(dev)
-
 /* suspend args */
 #define DRV_SUSPEND_STATE_TYPE pm_message_t