diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 20:26:17 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 20:26:17 -0200 |
commit | 6ccda240cb23a33beb59c38cf209db0ccfabc4e8 (patch) | |
tree | 46c7f390090b2ec5cdba4933ac7cf1a5d1610fb8 /linux/drivers/media | |
parent | c278ca42f16bc64d3fd053d6dd1b85d0e932bbae (diff) | |
download | mediapointer-dvb-s2-6ccda240cb23a33beb59c38cf209db0ccfabc4e8.tar.gz mediapointer-dvb-s2-6ccda240cb23a33beb59c38cf209db0ccfabc4e8.tar.bz2 |
quickcam_messenger.c: fix a warning
From: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/usbvideo/quickcam_messenger.c: In function ‘qcm_sensor_init’:
drivers/media/video/usbvideo/quickcam_messenger.c:450: warning: operation on ‘ret’ may be undefined
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/usbvideo/quickcam_messenger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/usbvideo/quickcam_messenger.c b/linux/drivers/media/video/usbvideo/quickcam_messenger.c index d363e3d64..9602ba0bd 100644 --- a/linux/drivers/media/video/usbvideo/quickcam_messenger.c +++ b/linux/drivers/media/video/usbvideo/quickcam_messenger.c @@ -460,7 +460,7 @@ static int qcm_sensor_init(struct uvd *uvd) CHECK_RET(ret, qcm_stv_setw(uvd->dev, 0x15c1, cpu_to_le16(ISOC_PACKET_SIZE))); CHECK_RET(ret, qcm_stv_setb(uvd->dev, 0x15c3, 0x08)); - CHECK_RET(ret, ret = qcm_stv_setb(uvd->dev, 0x143f, 0x01)); + CHECK_RET(ret, qcm_stv_setb(uvd->dev, 0x143f, 0x01)); CHECK_RET(ret, qcm_stv_setb(uvd->dev, STV_ISO_ENABLE, 0x00)); |