Skip to content

Commit

Permalink
[media] gspca - cpia1: Remove a bad conditional compilation instruction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed May 21, 2011
1 parent f8e5677 commit 707ff3f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/gspca/cpia1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 707ff3f

Please sign in to comment.