From 517b12f2a0d9f9e6de680b30242ec6432d2af7f7 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 7 Oct 2010 16:20:43 -0700 Subject: [PATCH] Staging: brcm80211: remove free_netdev wrapper It's incorrect, call the real function. Cc: Brett Rudley Cc: Henry Ptasinski Cc: Nohee Ko Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/include/linuxver.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/brcm80211/include/linuxver.h b/drivers/staging/brcm80211/include/linuxver.h index 4986b3b8a540..190bdee065ab 100644 --- a/drivers/staging/brcm80211/include/linuxver.h +++ b/drivers/staging/brcm80211/include/linuxver.h @@ -63,10 +63,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs); #define PCI_SAVE_STATE(a, b) pci_save_state(a) #define PCI_RESTORE_STATE(a, b) pci_restore_state(a) -#ifndef HAVE_FREE_NETDEV -#define free_netdev(dev) kfree(dev) -#endif - /* suspend args */ #define DRV_SUSPEND_STATE_TYPE pm_message_t -- 2.34.1