[media] gspca - sunplus: Fix some warnings and simplify code
authorJean-François Moine <moinejf@free.fr>
Tue, 17 May 2011 08:32:39 +0000 (05:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 21 May 2011 12:36:15 +0000 (09:36 -0300)
commitcf25220677b3f10468a74278130fe224f73632a6
tree682af16f4011a04fa31639441a4f03e4af0077e0
parentbd62bbcd31f36db2ffb08a9f32743b2595d12613
[media] gspca - sunplus: Fix some warnings and simplify code

This patch removes warnings due to GSPCA_DEBUG unsetting. It implied
a simplification of the code.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sunplus.c