DVB stv0299.c: remove unused variable
PATCH 1/1 DVB stv0299.c: remove unused variable
The stv0299 DVB frontend update in Linus' 2.6 tree introduced a completely unused variable:
<-- snip -->
...
CC drivers/media/dvb/frontends/stv0299.odrivers/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:
drivers/media/dvb/frontends/stv0299.c renamed from drivers/media/dvb/frontends/stv0299.c.old +1 -1
@@ -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
Signature · 4 lines
"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 SeedHello Adrian,
drivers/media/dvb/frontends/stv0299.c
Quoted 18 lines · Adrian Bunk
The stv0299 DVB frontend update in Linus' 2.6 tree introduced a completely unused variable:
<-- snip -->
...
CCdrivers/media/dvb/frontends/stv0299.odrivers/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:
drivers/media/dvb/frontends/stv0299.c renamed from drivers/media/dvb/frontends/stv0299.c.old +0
-0
Thanks. The patch is already in our local CVS and will be in the next DVB update.
Please CC the official "maintainer" address <[email protected]> the next time. Thanks!
CU
Michael.