From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew de Quincey <adq_dvb@lidskialf.net>,
Michael Hunold <hunold@linuxtv.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] DVB stv0299.c: remove unused variable
Date: Wed, 3 Mar 2004 22:55:49 +0100 [thread overview]
Message-ID: <20040303215549.GJ24510@fs.tum.de> (raw)
The stv0299 DVB frontend update in Linus' 2.6 tree introduced a
completely unused variable:
<-- snip -->
...
CC drivers/media/dvb/frontends/stv0299.o
drivers/media/dvb/frontends/stv0299.c: In function `tsa5059_set_tv_freq':
drivers/media/dvb/frontends/stv0299.c:356: warning: unused variable `i'
...
<-- snip -->
The following patch removes this variable:
--- linux-2.6.4-rc1-mm2/drivers/media/dvb/frontends/stv0299.c.old 2004-03-03 22:51:19.000000000 +0100
+++ linux-2.6.4-rc1-mm2/drivers/media/dvb/frontends/stv0299.c 2004-03-03 22:52:57.000000000 +0100
@@ -353,7 +353,7 @@
u8 addr;
u32 div;
u8 buf[4];
- int i, divisor, regcode;
+ int divisor, regcode;
dprintk ("%s: freq %i, ftype %i\n", __FUNCTION__, freq, ftype);
Please apply
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next reply other threads:[~2004-03-03 21:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 21:55 Adrian Bunk [this message]
2004-03-04 8:49 ` [2.6 patch] DVB stv0299.c: remove unused variable Michael Hunold
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=20040303215549.GJ24510@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=adq_dvb@lidskialf.net \
--cc=hunold@linuxtv.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox