aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAleksandr Mishin <[email protected]>2024-07-30 22:53:39 +0000
committerRafael J. Wysocki <[email protected]>2024-08-02 15:05:08 +0000
commit07442c46abad1d50ac82af5e0f9c5de2732c4592 (patch)
tree4b58f486b2e2ced27e6ec45fef1910f3ac207e57 /security/selinux/hooks.c
parentLinux 6.11-rc1 (diff)
downloadkernel-07442c46abad1d50ac82af5e0f9c5de2732c4592.tar.gz
kernel-07442c46abad1d50ac82af5e0f9c5de2732c4592.zip
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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions