Staging: rt2860: Avoid extern in .c file
authorL. Alberto Giménez <agimenez@sysvalve.es>
Sun, 12 Dec 2010 17:56:30 +0000 (18:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 13 Dec 2010 18:28:42 +0000 (10:28 -0800)
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>
drivers/staging/rt2860/pci_main_dev.c

index c35c804..cd028e7 100644 (file)
@@ -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);