summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-21 18:57:13 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-28 19:17:31 +0300
commita114a585be4f3173fe454921a0918fb7e71633b0 (patch)
tree4fbc327d9c5f8afeaeeb5d9db8c51463615fc375 /drivers/media
parenta1f18fdc72a4dc7315f7bd14d6cb30dde42ce6eb (diff)
downloadlinux-a114a585be4f3173fe454921a0918fb7e71633b0.tar.xz
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')
-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);
}