From: Antti Palosaari Date: Thu, 9 Aug 2012 23:50:37 +0000 (-0300) Subject: [media] tda18218: silence compiler warning X-Git-Tag: firefly_0821_release~3680^2~275^2~1489 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e0e52d4e9f5bce7ea887027c127473eb654a5a04;p=firefly-linux-kernel-4.4.55.git [media] tda18218: silence compiler warning Trivial fix. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/tda18218.c b/drivers/media/common/tuners/tda18218.c index dfb3a831df45..8a6f9ca788f0 100644 --- a/drivers/media/common/tuners/tda18218.c +++ b/drivers/media/common/tuners/tda18218.c @@ -282,7 +282,7 @@ struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct tda18218_config *cfg) { struct tda18218_priv *priv = NULL; - u8 val; + u8 uninitialized_var(val); int ret; /* chip default registers values */ static u8 def_regs[] = {