Skip to contentSkip to conversation

eepro100 warning fix

DISCUSSION Pavel Machek 1 participant 1 message Jun 30, 2002 1 message not in the archive Network drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi!

I killed #ifdef, and introduced warning. This fixes it. Please apply,
Pavel

Quoted 4 lines

In 2.5.20, one could read:
<[email protected]>
eepro100 net driver trivial cleanup:
Extra prototype does not hurt; ifdefs do.

...

Quoted 2 lines

eepro100.c:527: warning: eepro100_suspend' declared static' but never defined eepro100.c:528: warning: eepro100_resume' declared static' but never defined

drivers/net/eepro100.c +0 -2
@@ -524,8 +524,6 @@
 static int eepro100_init_one(struct pci_dev *pdev,
 		const struct pci_device_id *ent);
 static void eepro100_remove_one (struct pci_dev *pdev);
-static int eepro100_suspend (struct pci_dev *pdev, u32 state);
-static int eepro100_resume (struct pci_dev *pdev);
 
 static int do_eeprom_cmd(long ioaddr, int cmd, int cmd_len);
 static int mdio_read(long ioaddr, int phy_id, int location);
Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa