diff options
| author | Dafna Hirschfeld <[email protected]> | 2021-11-17 14:06:34 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-30 12:19:34 +0100 |
| commit | b80811546495ee7fd56d16b0fe978f3921f12175 (patch) | |
| tree | 174eafb5d7fb571ad18046260e08ce5ac9cd42a9 /tools/perf/scripts/python | |
| parent | ba0b00e7930b477eba4cf1de1b62ae68949911b7 (diff) | |
media: mtk-vcodec: don't check return val of mtk_venc_get_q_data
The function mtk_venc_get_q_data always returns a reference
so there is no need to check if the return value is null.
In addition move the q_data initialization to the declaration
Signed-off-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions