Skip to content

Commit

Permalink
Staging: brcm80211: remove free_netdev wrapper
Browse files Browse the repository at this point in the history
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: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Oct 7, 2010
1 parent c62add3 commit 517b12f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/brcm80211/include/linuxver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 517b12f

Please sign in to comment.