From: Antti Palosaari Date: Thu, 9 Aug 2012 23:50:35 +0000 (-0300) Subject: [media] tda18212: silence compiler warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e666a44fa313cb9329c0381ad02fc6ee1e21cb31;p=openwrt%2Fstaging%2Fblogic.git [media] tda18212: silence compiler warning Trivial fix. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/common/tuners/tda18212.c b/drivers/media/common/tuners/tda18212.c index 602c2e392b17..a14e8b6ef91c 100644 --- a/drivers/media/common/tuners/tda18212.c +++ b/drivers/media/common/tuners/tda18212.c @@ -287,7 +287,7 @@ struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe, { struct tda18212_priv *priv = NULL; int ret; - u8 val; + u8 uninitialized_var(val); priv = kzalloc(sizeof(struct tda18212_priv), GFP_KERNEL); if (priv == NULL)