]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (11405): gspca - m5602: Simplify error handling
authorErik Andr?n <erik.andren@gmail.com>
Sat, 27 Dec 2008 15:28:00 +0000 (12:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:35 +0000 (21:44 -0300)
commit051781b3a8ea31f1834fddb916607a3088a28f71
treea8f7f4732467b73508257ef5090dec2292468986
parentad567ec23501dfdf00dcc8915709a1fda556b6f4
V4L/DVB (11405): gspca - m5602: Simplify error handling

Simplfy error handling by replacing goto statements with return equivalents.

Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_core.c
drivers/media/video/gspca/m5602/m5602_mt9m111.c
drivers/media/video/gspca/m5602/m5602_ov9650.c
drivers/media/video/gspca/m5602/m5602_po1030.c
drivers/media/video/gspca/m5602/m5602_s5k4aa.c
drivers/media/video/gspca/m5602/m5602_s5k83a.c