diff options
author | Abraham Samuel Adekunle <abrahamadekunle50@gmail.com> | 2025-04-03 14:26:41 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-05-05 09:47:27 +0200 |
commit | 330995bb78375bb6309cf007585f429e9d6bc731 (patch) | |
tree | 9a50fb2fd8b7cfb10cae7ae7d6d9668d4918ec32 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e079805764f98de10adaa44b01a4ef309752c547 (diff) |
media: atomisp: gmin: Remove duplicate NULL test
When a value has been tested for NULL in an expression, a
second NULL test on the same value in another expression
is unnecessary when the value has not been assigned NULL.
Remove unnecessary duplicate NULL tests on the same value that
has previously been NULL tested.
Found by Coccinelle.
Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com>
Link: https://lore.kernel.org/r/26990d4a9d4419f9d4155a40595bc213acb671a0.1743685415.git.abrahamadekunle50@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions