Commit 707ff3fb authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab

[media] gspca - cpia1: Remove a bad conditional compilation instruction

This patch fixes a compilation error when GSPCA_DEBUG is not set.
Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f8e5677f
...@@ -1770,9 +1770,7 @@ static void sd_stopN(struct gspca_dev *gspca_dev) ...@@ -1770,9 +1770,7 @@ static void sd_stopN(struct gspca_dev *gspca_dev)
/* this function is called at probe and resume time */ /* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev) static int sd_init(struct gspca_dev *gspca_dev)
{ {
#ifdef GSPCA_DEBUG
struct sd *sd = (struct sd *) gspca_dev; struct sd *sd = (struct sd *) gspca_dev;
#endif
int ret; int ret;
/* Start / Stop the camera to make sure we are talking to /* Start / Stop the camera to make sure we are talking to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment