V4L/DVB: cpia1: comment unused command_setlights()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Apr 2010 22:09:13 +0000 (19:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:14 +0000 (12:57 -0300)
drivers/media/video/gspca/cpia1.c:1063: warning: ‘command_setlights’ defined but not used

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

index 92879c072e983703558f030d932250ce7108091d..58b696f455be0492c11172ce493a045b0f46d3fb 100644 (file)
@@ -1059,6 +1059,7 @@ static int command_resume(struct gspca_dev *gspca_dev)
                          0, sd->params.streamStartLine, 0, 0);
 }
 
+#if 0 /* Currently unused */
 static int command_setlights(struct gspca_dev *gspca_dev)
 {
        struct sd *sd = (struct sd *) gspca_dev;
@@ -1078,6 +1079,7 @@ static int command_setlights(struct gspca_dev *gspca_dev)
        return do_command(gspca_dev, CPIA_COMMAND_WriteMCPort, 2, 0,
                          p1 | p2 | 0xE0, 0);
 }
+#endif
 
 static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply)
 {