diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-26 11:24:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:41 -0400 |
commit | 031002d78b05c706272e4d5bc779f5c99d8348cf (patch) | |
tree | c14b67252ec20b7e73341eb7c7be101b6620c8fd /drivers/media/video/usbvideo/vicam.c | |
parent | aeecea26234011c3fbf65ffa7d9c9525b486acab (diff) |
V4L/DVB (11226): avoid warnings for request_ihex_firmware on dabusb and vicam
drivers/media/video/usbvideo/vicam.c: In function ‘vicam_open’:
drivers/media/video/usbvideo/vicam.c:194: warning: ‘fw’ may be used uninitialized in this function
drivers/media/video/dabusb.c: In function ‘dabusb_probe’:
drivers/media/video/dabusb.c:337: warning: ‘fw’ may be used uninitialized in this function
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/usbvideo/vicam.c')
-rw-r--r-- | drivers/media/video/usbvideo/vicam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvideo/vicam.c b/drivers/media/video/usbvideo/vicam.c index 2f1106338c08..8d73979596f9 100644 --- a/drivers/media/video/usbvideo/vicam.c +++ b/drivers/media/video/usbvideo/vicam.c | |||
@@ -191,7 +191,7 @@ initialize_camera(struct vicam_camera *cam) | |||
191 | { | 191 | { |
192 | int err; | 192 | int err; |
193 | const struct ihex_binrec *rec; | 193 | const struct ihex_binrec *rec; |
194 | const struct firmware *fw; | 194 | const struct firmware *uninitialized_var(fw); |
195 | 195 | ||
196 | err = request_ihex_firmware(&fw, "vicam/firmware.fw", &cam->udev->dev); | 196 | err = request_ihex_firmware(&fw, "vicam/firmware.fw", &cam->udev->dev); |
197 | if (err) { | 197 | if (err) { |