Commit 03ad9fe4 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] anysee: fix a warning

drivers/media/usb/dvb-usb-v2/anysee.c:1179:5: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized]

Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 59e54059
...@@ -1170,7 +1170,7 @@ static int anysee_ci_poll_slot_status(struct dvb_ca_en50221 *ci, int slot, ...@@ -1170,7 +1170,7 @@ static int anysee_ci_poll_slot_status(struct dvb_ca_en50221 *ci, int slot,
struct dvb_usb_device *d = ci->data; struct dvb_usb_device *d = ci->data;
struct anysee_state *state = d_to_priv(d); struct anysee_state *state = d_to_priv(d);
int ret; int ret;
u8 tmp; u8 tmp = 0;
ret = anysee_rd_reg_mask(d, REG_IOC, &tmp, 0x40); ret = anysee_rd_reg_mask(d, REG_IOC, &tmp, 0x40);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment