mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: eepro100 warning fix
       [not found] <20020603074242.GA9494@launay.org>
@ 2002-06-29 14:06 ` Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2002-06-29 14:06 UTC (permalink / raw)
  To: Arnaud Launay, kernel list, torvalds

Hi!

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


> In 2.5.20, one could read:
> <pavel@ucw.cz>
>         eepro100 net driver trivial cleanup:
>         Extra prototype does not hurt; ifdefs do.
...
> eepro100.c:527: warning: `eepro100_suspend' declared `static' but never defined
> eepro100.c:528: warning: `eepro100_resume' declared `static' but never defined

--- linux-swsusp.test/drivers/net/eepro100.c	Mon Jun  3 11:43:33 2002
+++ linux-swsusp/drivers/net/eepro100.c	Sat Jun 29 15:58:45 2002
@@ -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);


-- 
(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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-30 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020603074242.GA9494@launay.org>
2002-06-29 14:06 ` eepro100 warning fix Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®