From: Jean-François Moine Date: Tue, 17 May 2011 07:15:15 +0000 (-0300) Subject: [media] gspca - cpia1: Remove a bad conditional compilation instruction X-Git-Tag: v3.0-rc1~322^2~3 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=707ff3fbd265bea59035fbd17de5893569d17400;p=linux.git [media] gspca - cpia1: Remove a bad conditional compilation instruction This patch fixes a compilation error when GSPCA_DEBUG is not set. Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/cpia1.c b/drivers/media/video/gspca/cpia1.c index 7e08354165c4..f2a9451eea19 100644 --- a/drivers/media/video/gspca/cpia1.c +++ b/drivers/media/video/gspca/cpia1.c @@ -1770,9 +1770,7 @@ static void sd_stopN(struct gspca_dev *gspca_dev) /* this function is called at probe and resume time */ static int sd_init(struct gspca_dev *gspca_dev) { -#ifdef GSPCA_DEBUG struct sd *sd = (struct sd *) gspca_dev; -#endif int ret; /* Start / Stop the camera to make sure we are talking to