diff options
author | Aleksandr Mishin <[email protected]> | 2024-07-31 01:53:39 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-08-02 17:05:08 +0200 |
commit | 07442c46abad1d50ac82af5e0f9c5de2732c4592 (patch) | |
tree | 4b58f486b2e2ced27e6ec45fef1910f3ac207e57 /tools/perf/util/trace-event-scripting.c | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe()
In tps68470_pmic_opregion_probe() pointer 'dev' is compared to NULL which
is useless.
Fix this issue by removing unneeded check.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: e13452ac3790 ("ACPI / PMIC: Add TI PMIC TPS68470 operation region driver")
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Aleksandr Mishin <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions