Browse Source

[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 <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Jean-François Moine 14 years ago
parent
commit
707ff3fbd2
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/media/video/gspca/cpia1.c

+ 0 - 2
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