aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-21 10:57:13 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-28 11:17:31 -0500
commita114a585be4f3173fe454921a0918fb7e71633b0 (patch)
tree4fbc327d9c5f8afeaeeb5d9db8c51463615fc375 /drivers/media/dvb-core
parentmedia: dvb uAPI docs: document mmap-related ioctls (diff)
downloadlinux-dev-a114a585be4f3173fe454921a0918fb7e71633b0.tar.xz
linux-dev-a114a585be4f3173fe454921a0918fb7e71633b0.zip
media: dvb-core: get rid of mmap reserved field
The "reserved" field was a way, used at V4L2 API, to add new data to existing structs without breaking userspace. However, there are now clever ways of doing that, without needing to add an uneeded overhead. So, get rid of them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core')
-rw-r--r--drivers/media/dvb-core/dvb_vb2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvb_vb2.c b/drivers/media/dvb-core/dvb_vb2.c
index fa1dcde74e81..68c59a497925 100644
--- a/drivers/media/dvb-core/dvb_vb2.c
+++ b/drivers/media/dvb-core/dvb_vb2.c
@@ -143,7 +143,6 @@ static void _fill_dmx_buffer(struct vb2_buffer *vb, void *pb)
b->length = vb->planes[0].length;
b->bytesused = vb->planes[0].bytesused;
b->offset = vb->planes[0].m.offset;
- memset(b->reserved, 0, sizeof(b->reserved));
dprintk(3, "[%s]\n", ctx->name);
}