From: Frank Pavlic <fpavlic@de.ibm.com>
To: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: linux390@de.ibm.com, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] s390: move var declarations behind ifdef
Date: Fri, 23 Jun 2006 11:59:09 +0200 [thread overview]
Message-ID: <20060623115909.068c09af@localhost.localdomain> (raw)
In-Reply-To: <20060614120733.GF15061@sergelap.austin.ibm.com>
On Wed, 14 Jun 2006 07:07:33 -0500
"Serge E. Hallyn" <serue@us.ibm.com> wrote:
> Two variables in drivers/s390/net/qeth_main.c:qeth_send_packet()
> are only used if CONFIG_QETH_PERF_STATS. Move their definition
> under the same ifdef to remove compiler warning.
>
> Signed-off-by: Serge Hallyn <serue@us.ibm.com>
>
> ---
>
> drivers/s390/net/qeth_main.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> 74bcd2e9461534ccd39ec84455b0b2c07c7f24a5
> diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c
> index 9e671a4..8f8c0f4 100644
> --- a/drivers/s390/net/qeth_main.c
> +++ b/drivers/s390/net/qeth_main.c
> @@ -4416,8 +4416,10 @@ qeth_send_packet(struct qeth_card *card,
> enum qeth_large_send_types large_send = QETH_LARGE_SEND_NO;
> struct qeth_eddp_context *ctx = NULL;
> int tx_bytes = skb->len;
> +#ifdef CONFIG_QETH_PERF_STATS
> unsigned short nr_frags = skb_shinfo(skb)->nr_frags;
> unsigned short tso_size = skb_shinfo(skb)->tso_size;
> +#endif
> int rc;
>
> QETH_DBF_TEXT(trace, 6, "sendpkt");
Hi Serge,
thanks for the patch...Applied ...
I will send it out with the next patch series .
Frank
prev parent reply other threads:[~2006-06-23 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 12:07 Serge E. Hallyn
2006-06-23 9:59 ` Frank Pavlic [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=20060623115909.068c09af@localhost.localdomain \
--to=fpavlic@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux390@de.ibm.com \
--cc=serue@us.ibm.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®