diff options
| author | Dafna Hirschfeld <[email protected]> | 2020-09-22 13:33:52 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-27 11:32:22 +0200 |
| commit | 93aaba85bc2be25d7b577931a14d8f54ba4386ee (patch) | |
| tree | 92eb259ec66c853fe0f49cea73a83b5da1e32fd7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b1b2715e8d616bab68ed4e22b6617601105f2947 (diff) | |
media: staging: rkisp1: params: in the isr, return if buffer list is empty
Currently the code in the isr checks if the buffer list is not
empty before referencing a buffer and then check again if the
buffer is not NULL. Instead we can save one 'if' statement by
returning if the buffers list is empty.
Also remove non-helpful inline doc 'get one empty buffer'
Signed-off-by: Dafna Hirschfeld <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions