Skip to content

Commit

Permalink
Staging: rt2860: Avoid extern in .c file
Browse files Browse the repository at this point in the history
rt28xx_close and rt28xx_open are already declared in a file included in
rt_config.h, so there is no need to declare them again.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
L. Alberto Giménez authored and Greg Kroah-Hartman committed Dec 13, 2010
1 parent ced17a6 commit e1b8a37
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/rt2860/pci_main_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ MODULE_ALIAS("rt3090sta");
/* */
/* Function declarations */
/* */
extern int rt28xx_close(IN struct net_device *net_dev);
extern int rt28xx_open(struct net_device *net_dev);

static void __devexit rt2860_remove_one(struct pci_dev *pci_dev);
static int __devinit rt2860_probe(struct pci_dev *pci_dev,
const struct pci_device_id *ent);
Expand Down

0 comments on commit e1b8a37

Please sign in to comment.