Skip to content

Commit e666a44

Browse files
palosaariMauro Carvalho Chehab
authored andcommitted
[media] tda18212: silence compiler warning
Trivial fix. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent e1d45ae commit e666a44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/common/tuners/tda18212.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ struct dvb_frontend *tda18212_attach(struct dvb_frontend *fe,
287287
{
288288
struct tda18212_priv *priv = NULL;
289289
int ret;
290-
u8 val;
290+
u8 uninitialized_var(val);
291291

292292
priv = kzalloc(sizeof(struct tda18212_priv), GFP_KERNEL);
293293
if (priv == NULL)

0 commit comments

Comments
 (0)