mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
[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>
This commit is contained in:
parent
af2c5debe1
commit
a101b947d4
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user