From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.14-rc5] drivers/net/dgrs.c: Fix potential "unused variable"-warning.
Date: Fri, 28 Oct 2005 19:16:52 +0200 [thread overview]
Message-ID: <43625D04.9000903@student.ltu.se> (raw)
In-Reply-To: <43625414.8050906@pobox.com>
Jeff Garzik wrote:
> Richard Knutsson wrote:
>
>> 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
Yeah, you are right. Saw it after I sent the mail and thought it would
be cluttering the mail-list just to say so.
Thanks for noticing. :)
*Note to 'self:
Check and _recheck_ patch before sending it*
/Richard
PS
Sorry about the bounced mail from torvalds@transmeta.com, did not
realize it were an old address.
prev parent reply other threads:[~2005-10-28 17:12 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
2005-10-28 17:16 ` Richard Knutsson [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=43625D04.9000903@student.ltu.se \
--to=ricknu-0@student.ltu.se \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
/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.