V4L/DVB (6147): Pwc: Fix a broken debug message
authorJean Delvare <khali@linux-fr.org>
Mon, 3 Sep 2007 14:51:51 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 14 Sep 2007 16:13:41 +0000 (13:13 -0300)
commit7b9fbc3e30f785412a26819aa4daf0b6c27f6c53
tree7ed0e5a77b1e11cf7f5c616dae9a41749eb70d31
parentf5e4feead773cb449212eacfa254a238a953d4d5
V4L/DVB (6147): Pwc: Fix a broken debug message

Commit 85237f202d46d55c1bffe0c5b1aa3ddc0f1dce4d introduced the
following warning (with CONFIG_USB_PWC_DEBUG=y):
drivers/media/video/pwc/pwc-if.c: In function "pwc_video_close":
drivers/media/video/pwc/pwc-if.c:1211: warning: "i" may be used uninitialized in this function

This is true, and can cause a broken debug message to be logged.
Here's a fix.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pwc/pwc-if.c