aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSES/preferred/BSD-2-Clause
diff options
context:
space:
mode:
authorZiyang Xuan <william.xuanziyang@huawei.com>2022-06-06 14:10:42 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:36 +0100
commit54b4d1911ef7e8616e76804c8b562b9803612cee (patch)
treefd01d148e5f06661cf72d499c07f2243cb29de2c /LICENSES/preferred/BSD-2-Clause
parent4911c5acf9351c4caf692895c7cf6a4fa46c26b0 (diff)
media: amphion: delete unnecessary NULL check
vfree(NULL) is safe. NULL check before vfree() is not needed. Delete them to simplify the code. Generated by coccinelle script: scripts/coccinelle/free/ifnullfree.cocci Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com> Reviewed-by: ming_qian <ming.qian@nxp.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'LICENSES/preferred/BSD-2-Clause')
0 files changed, 0 insertions, 0 deletions

Privacy Policy