Messages in this thread Patch in this message | | | Date | Wed, 3 Mar 2004 22:55:49 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] 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.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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |