summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/saa6588.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-12-14 08:28:35 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 07:40:59 -0200
commita101b947d405b5c2c94f260867074a4466b7cbea (patch)
tree3be7c6c10042e78519a20580b24747f990a8912e /drivers/media/i2c/saa6588.c
parentaf2c5debe11f51d9af42accd9dd495478bb726fd (diff)
downloadlwn-a101b947d405b5c2c94f260867074a4466b7cbea.tar.gz
lwn-a101b947d405b5c2c94f260867074a4466b7cbea.zip
[media] saa6588: remove unused CMD_OPEN
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/saa6588.c')
-rw-r--r--drivers/media/i2c/saa6588.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/i2c/saa6588.c b/drivers/media/i2c/saa6588.c
index 54dd7a09f9d3..21cf940f5ea0 100644
--- a/drivers/media/i2c/saa6588.c
+++ b/drivers/media/i2c/saa6588.c
@@ -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;