summaryrefslogtreecommitdiffstats
path: root/drivers
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
parenta1f18fdc72a4dc7315f7bd14d6cb30dde42ce6eb (diff)
downloadop-kernel-dev-a114a585be4f3173fe454921a0918fb7e71633b0.zip
op-kernel-dev-a114a585be4f3173fe454921a0918fb7e71633b0.tar.gz
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')
-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 fa1dcde..68c59a4 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);
}
OpenPOWER on IntegriCloud