[media] tda18212: silence compiler warning
authorAntti Palosaari <crope@iki.fi>
Thu, 9 Aug 2012 23:50:35 +0000 (20:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 15:38:52 +0000 (12:38 -0300)
Trivial fix.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18212.c

index 602c2e392b178c255a2d6fa476b8b2fa439f45d0..a14e8b6ef91c00a09db6d1d6e59e7c3243532de2 100644 (file)
@@ -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)