aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2023-08-02 20:47:46 +0000
committerLinus Walleij <[email protected]>2023-08-10 08:10:01 +0000
commitc7351b46d0da5f0f1bc35187a3c924bface884e0 (patch)
tree5d2a62e18e34a289716809c99528a27239d9b195 /tools/perf/scripts/python/netdev-times.py
parentARM: dts: ux500: switch to enable-gpios (diff)
downloadkernel-c7351b46d0da5f0f1bc35187a3c924bface884e0.tar.gz
kernel-c7351b46d0da5f0f1bc35187a3c924bface884e0.zip
pinctrl: at91-pio4: drop useless check in atmel_conf_pin_config_dbg_show()
In atmel_conf_pin_config_dbg_show(), checking atmel_pioctrl->pins[pin_id] against being NULL doesn't make any sense as it gets derefenced first and the driver's probe() method immediately returns -ENOMEM when devm_kzalloc() returns NULL for any atmel_pioctrl->pins[] element anyway, thus failing to register the device... Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool. Signed-off-by: Sergey Shtylyov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions