diff options
| author | Hans Verkuil <[email protected]> | 2018-11-19 10:33:44 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-11-23 06:42:15 -0500 |
| commit | 5e99456c20f712dcc13d9f6ca4278937d5367355 (patch) | |
| tree | b7df04e1962020806d52a64b14989139cb542110 /tools/perf/scripts/python/netdev-times.py | |
| parent | d644cca50f366cd109845ae92e37c09ed79adf81 (diff) | |
media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
Userspace shouldn't set bytesused to 0 for output buffers.
vb2_warn_zero_bytesused() warns about this (only once!), but it also
calls WARN_ON(1), which is confusing since it is not immediately clear
that it warns about a 0 value for bytesused.
Just drop the WARN_ON as it serves no purpose.
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions