* [2.6 patch] DVB stv0299.c: remove unused variable
@ 2004-03-03 21:55 Adrian Bunk
2004-03-04 8:49 ` Michael Hunold
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-03-03 21:55 UTC (permalink / raw)
To: Andrew de Quincey, Michael Hunold; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] DVB stv0299.c: remove unused variable
2004-03-03 21:55 [2.6 patch] DVB stv0299.c: remove unused variable Adrian Bunk
@ 2004-03-04 8:49 ` Michael Hunold
0 siblings, 0 replies; 2+ messages in thread
From: Michael Hunold @ 2004-03-04 8:49 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
Hello Adrian,
On 03/03/04 22:55, Adrian Bunk wrote:
> 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
Thanks. The patch is already in our local CVS and will be in the next
DVB update.
Please CC the official "maintainer" address
<linux-dvb-maintainer@linuxtv.org> the next time. Thanks!
CU
Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-04 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03 21:55 [2.6 patch] DVB stv0299.c: remove unused variable Adrian Bunk
2004-03-04 8:49 ` Michael Hunold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox