From: Jeff Garzik <jgarzik@pobox.com>
To: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: Re: [PATCH 2.6.14-rc5] drivers/net/dgrs.c: Fix potential "unused variable"-warning.
Date: Fri, 28 Oct 2005 12:38:44 -0400 [thread overview]
Message-ID: <43625414.8050906@pobox.com> (raw)
In-Reply-To: <435FFADA.8030703@student.ltu.se>
Richard Knutsson wrote:
> Just a cosmetic change to prevent compiler-warning about unused variable
> (+ save 2 or 4 bytes of memory).
>
> BTW, the authors mail-address seems invalid.
>
> Signed-off-by: Richard Knutsson
>
> ---
>
> diff -uNr a/drivers/net/dgrs.c b/drivers/net/dgrs.c
> --- a/drivers/net/dgrs.c 2005-08-29 01:41:01.000000000 +0200
> +++ b/drivers/net/dgrs.c 2005-10-26 15:53:43.000000000 +0200
> @@ -1549,7 +1549,7 @@
> static int __init dgrs_init_module (void)
> {
> int i;
> - int eisacount = 0, pcicount = 0;
> + int count = 0;
no need to initialize the variable
next prev parent reply other threads:[~2005-10-28 16:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-26 21:53 [PATCH 2.6.14-rc5] drivers/net/dgrs.c: Fix potential "unused variable"-warning Richard Knutsson
2005-10-28 16:38 ` Jeff Garzik [this message]
2005-10-28 17:16 ` Richard Knutsson
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=43625414.8050906@pobox.com \
--to=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ricknu-0@student.ltu.se \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.