mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Arnaud Launay <asl@launay.org>,
	kernel list <linux-kernel@vger.kernel.org>,
	torvalds@transmeta.com
Subject: Re: eepro100 warning fix
Date: Sat, 29 Jun 2002 16:06:47 +0200	[thread overview]
Message-ID: <20020629140646.GA368@elf.ucw.cz> (raw)
In-Reply-To: <20020603074242.GA9494@launay.org>

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

           reply	other threads:[~2002-06-30 14:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20020603074242.GA9494@launay.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020629140646.GA368@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=asl@launay.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®