V4L/DVB: gspca: fixes compilation when input is not selected
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 24 Mar 2010 12:36:32 +0000 (09:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:50:21 +0000 (00:50 -0300)
It seems that I merged a wrong version of the patch or that
changeset 4d770eeb926d0bc44c0bd68d051d3d2a5568ef41 got mangled somehow:

It were missed the #else to avoid compilation troubles.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index 415949526eeccd29b2483f5571187db3f6d914b8..1830ea9e73b0de169f18982fb706047a9998d94f 100644 (file)
@@ -279,10 +279,6 @@ static void gspca_input_destroy_urb(struct gspca_dev *gspca_dev)
                usb_free_urb(urb);
        }
 }
-#else
-#define gspca_input_connect(gspca_dev)         0
-#define gspca_input_create_urb(gspca_dev)
-#define gspca_input_destroy_urb(gspca_dev)
 #endif
 
 /* get the current input frame buffer */