From: Jeff Garzik <jeff@garzik.org>
To: Don Fry <pcnet32@verizon.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] pcnet32: remove compile warnings in non-napi mode
Date: Wed, 17 Oct 2007 20:22:06 -0400 [thread overview]
Message-ID: <4716A72E.80600@garzik.org> (raw)
In-Reply-To: <1192662610.5312.1.camel@Linux.home>
Don Fry wrote:
> Remove compile warning when in non-napi mode.
>
> Signed-off-by: Don Fry <pcnet32@verizon.net>
> ---
> --- linux-2.6.23-git7/drivers/net/napi.pcnet32.c 2007-10-17 15:56:15.000000000 -0700
> +++ linux-2.6.23-git7/drivers/net/pcnet32.c 2007-10-17 16:00:44.000000000 -0700
> @@ -442,7 +442,9 @@ static struct pcnet32_access pcnet32_dwi
>
> static void pcnet32_netif_stop(struct net_device *dev)
> {
> +#ifdef CONFIG_PCNET32_NAPI
> struct pcnet32_private *lp = netdev_priv(dev);
> +#endif
> dev->trans_start = jiffies;
> #ifdef CONFIG_PCNET32_NAPI
> napi_disable(&lp->napi);
applied
prev parent reply other threads:[~2007-10-18 0:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 23:10 [PATCH] pcnet32: remove compile warnings in non-napi mode Don Fry
2007-10-18 0:22 ` Jeff Garzik [this message]
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=4716A72E.80600@garzik.org \
--to=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=pcnet32@verizon.net \
/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;
as well as URLs for NNTP newsgroup(s).