Fix compiler warnings. Signed-of-by: Aapo Tahkola <aet@xxxxxxxxxxxxxx> -- Aapo Tahkola
diff -r 830de7ccaa08 linux/drivers/media/dvb/dvb-usb/m920x.c --- a/linux/drivers/media/dvb/dvb-usb/m920x.c Sat Mar 03 02:11:09 2007 +0200 +++ b/linux/drivers/media/dvb/dvb-usb/m920x.c Sat Mar 03 02:12:43 2007 +0200 @@ -138,7 +138,6 @@ static int m920x_i2c_xfer(struct i2c_ada int num) { struct dvb_usb_device *d = i2c_get_adapdata(adap); - struct m920x_state *m = d->priv; int i, j; int ret = 0; @@ -147,7 +146,6 @@ static int m920x_i2c_xfer(struct i2c_ada for (i = 0; i < num; i++) { if (msg[i].flags & I2C_M_RD) { - if ((ret = m920x_write(d->udev, M9205_I2C, (msg[i].addr << 1) | 0x01, 0x80)) != 0) goto unlock;
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb