Commit 517b12f2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: brcm80211: remove free_netdev wrapper

It's incorrect, call the real function.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c62add38
...@@ -63,10 +63,6 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs); ...@@ -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_SAVE_STATE(a, b) pci_save_state(a)
#define PCI_RESTORE_STATE(a, b) pci_restore_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 */ /* suspend args */
#define DRV_SUSPEND_STATE_TYPE pm_message_t #define DRV_SUSPEND_STATE_TYPE pm_message_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment