aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-05-17 03:15:15 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-21 08:34:45 -0400
commit707ff3fbd265bea59035fbd17de5893569d17400 (patch)
treee9305124d767b1de27e2179ee5b4bb1877865a04 /drivers
parentf8e5677f9ebadea9b60980c1bda75c6e6345fd44 (diff)
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/cpia1.c2
1 files changed, 0 insertions, 2 deletions
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)
1770/* this function is called at probe and resume time */ 1770/* this function is called at probe and resume time */
1771static int sd_init(struct gspca_dev *gspca_dev) 1771static int sd_init(struct gspca_dev *gspca_dev)
1772{ 1772{
1773#ifdef GSPCA_DEBUG
1774 struct sd *sd = (struct sd *) gspca_dev; 1773 struct sd *sd = (struct sd *) gspca_dev;
1775#endif
1776 int ret; 1774 int ret;
1777 1775
1778 /* Start / Stop the camera to make sure we are talking to 1776 /* Start / Stop the camera to make sure we are talking to