]> git.neil.brown.name Git - history.git/commitdiff
eepro100 net driver trivial cleanup:
authorPavel Machek <pavel@ucw.cz>
Wed, 29 May 2002 22:18:21 +0000 (18:18 -0400)
committerJeff Garzik <jgarzik@mandrakesoft.com>
Wed, 29 May 2002 22:18:21 +0000 (18:18 -0400)
Extra prototype does not hurt; ifdefs do.

drivers/net/eepro100.c

index 8c03bfc71ee0d5247ab75dbd57fd8e241a802a58..537998e6037d01201a1173841767af1fb0eaa475 100644 (file)
@@ -524,10 +524,8 @@ static const char is_mii[] = { 0, 1, 1, 0, 1, 1, 0, 1 };
 static int eepro100_init_one(struct pci_dev *pdev,
                const struct pci_device_id *ent);
 static void eepro100_remove_one (struct pci_dev *pdev);
-#ifdef CONFIG_PM
 static int eepro100_suspend (struct pci_dev *pdev, u32 state);
 static int eepro100_resume (struct pci_dev *pdev);
-#endif
 
 static int do_eeprom_cmd(long ioaddr, int cmd, int cmd_len);
 static int mdio_read(long ioaddr, int phy_id, int location);