diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-21 10:57:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-28 11:17:31 -0500 |
commit | a114a585be4f3173fe454921a0918fb7e71633b0 (patch) | |
tree | 4fbc327d9c5f8afeaeeb5d9db8c51463615fc375 /drivers/media | |
parent | a1f18fdc72a4dc7315f7bd14d6cb30dde42ce6eb (diff) | |
download | linux-a114a585be4f3173fe454921a0918fb7e71633b0.tar.gz linux-a114a585be4f3173fe454921a0918fb7e71633b0.tar.bz2 linux-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')
-rw-r--r-- | drivers/media/dvb-core/dvb_vb2.c | 1 |
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); } |