summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx18/cx18-ioctl.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-21 09:02:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:10:52 -0300
commit79afcb10dfdd3287875666de34c23510423058b8 (patch)
treec3077b28e53a79b1ec25f84c3cbf6fac8eb7f865 /drivers/media/video/cx18/cx18-ioctl.c
parent8bfb9b1ce62757b8dea07c239efbbeec7bac811a (diff)
V4L/DVB (8084): ivtv/cx18: remove unnecessary memsets & KERNEL_VERSION tests
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx18/cx18-ioctl.c')
-rw-r--r--drivers/media/video/cx18/cx18-ioctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c
index 70afedf4763f..395382798fb8 100644
--- a/drivers/media/video/cx18/cx18-ioctl.c
+++ b/drivers/media/video/cx18/cx18-ioctl.c
@@ -679,8 +679,6 @@ static int cx18_encoder_cmd(struct file *file, void *fh,
CX18_DEBUG_IOCTL("VIDIOC_ENCODER_CMD:\n");
- memset(&enc->raw, 0, sizeof(enc->raw));
-
switch (enc->cmd) {
case V4L2_ENC_CMD_START:
CX18_DEBUG_IOCTL("V4L2_ENC_CMD_START\n");
@@ -730,8 +728,6 @@ static int cx18_try_encoder_cmd(struct file *file, void *fh,
CX18_DEBUG_IOCTL("VIDIOC_TRY_ENCDOER_CMD:\n");
- memset(&enc->raw, 0, sizeof(enc->raw));
-
switch (enc->cmd) {
case V4L2_ENC_CMD_START:
CX18_DEBUG_IOCTL("V4L2_ENC_CMD_START\n");