Skip to content

Commit e0e52d4

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ struct dvb_frontend *tda18218_attach(struct dvb_frontend *fe,
282282
struct i2c_adapter *i2c, struct tda18218_config *cfg)
283283
{
284284
struct tda18218_priv *priv = NULL;
285-
u8 val;
285+
u8 uninitialized_var(val);
286286
int ret;
287287
/* chip default registers values */
288288
static u8 def_regs[] = {

0 commit comments

Comments
 (0)