[media] saa6588: remove unused CMD_OPEN
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 14 Dec 2013 11:28:35 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 09:40:59 +0000 (07:40 -0200)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/saa6588.c
include/media/saa6588.h

index 54dd7a09f9d3d078090e626c51aa2d9799227826..21cf940f5ea051650331b891101dc25677b62d32 100644 (file)
@@ -394,10 +394,6 @@ static long saa6588_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
        struct saa6588_command *a = arg;
 
        switch (cmd) {
-               /* --- open() for /dev/radio --- */
-       case SAA6588_CMD_OPEN:
-               a->result = 0;  /* return error if chip doesn't work ??? */
-               break;
                /* --- close() for /dev/radio --- */
        case SAA6588_CMD_CLOSE:
                s->data_available_for_read = 1;
index 2c3c4420a4eb61e42ed0cd8c8606b5a8a32766cd..1489a52721173c58001974d72e325ab8c650c1df 100644 (file)
@@ -34,7 +34,6 @@ struct saa6588_command {
 };
 
 /* These ioctls are internal to the kernel */
-#define SAA6588_CMD_OPEN       _IOW('R', 1, int)
 #define SAA6588_CMD_CLOSE      _IOW('R', 2, int)
 #define SAA6588_CMD_READ       _IOR('R', 3, int)
 #define SAA6588_CMD_POLL       _IOR('R', 4, int)