aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/af9015.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2010-10-07 20:46:41 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:18:00 -0400
commit675375d7ae14849d5698c771aff964a0ea2ac404 (patch)
tree69f88d4e1b54d21bc77368b13dc5874efffa44e8 /drivers/media/dvb/dvb-usb/af9015.c
parent9a3ecc738258f22b7c09050ca219b37c9eaae6d5 (diff)
[media] af9015: remove needless variable set
Variable is don't care in that case. No need to set value. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c
index 2d4f4845c9f5..b04e25a631d1 100644
--- a/drivers/media/dvb/dvb-usb/af9015.c
+++ b/drivers/media/dvb/dvb-usb/af9015.c
@@ -243,7 +243,7 @@ static int af9015_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
243 struct dvb_usb_device *d = i2c_get_adapdata(adap); 243 struct dvb_usb_device *d = i2c_get_adapdata(adap);
244 int ret = 0, i = 0; 244 int ret = 0, i = 0;
245 u16 addr; 245 u16 addr;
246 u8 mbox, addr_len; 246 u8 uninitialized_var(mbox), addr_len;
247 struct req_t req; 247 struct req_t req;
248 248
249/* TODO: implement bus lock 249/* TODO: implement bus lock
@@ -282,7 +282,7 @@ Due to that the only way to select correct tuner is use demodulator I2C-gate.
282 } else { 282 } else {
283 addr = msg[i].buf[0]; 283 addr = msg[i].buf[0];
284 addr_len = 1; 284 addr_len = 1;
285 mbox = 0; 285 /* mbox is don't care in that case */
286 } 286 }
287 287
288 if (num > i + 1 && (msg[i+1].flags & I2C_M_RD)) { 288 if (num > i + 1 && (msg[i+1].flags & I2C_M_RD)) {