From: Greg Kroah-Hartman Date: Thu, 7 Oct 2010 23:20:43 +0000 (-0700) Subject: Staging: brcm80211: remove free_netdev wrapper X-Git-Tag: firefly_0821_release~7613^2~3583^2~3^2~289 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=517b12f2a0d9f9e6de680b30242ec6432d2af7f7;p=firefly-linux-kernel-4.4.55.git 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 --- 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