aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorLi Zetao <[email protected]>2024-09-07 11:09:59 +0800
committerHans de Goede <[email protected]>2024-09-11 14:20:01 +0200
commitf80d7100f091e96b54beb32dc6d136520453582f (patch)
tree90d05368ed493c28fa1659a87e0c3a50be25064d /scripts/gdb/linux/interrupts.py
parentcedf233530cc375343c5a0b612fe94392f246c99 (diff)
platform/olpc: Remove redundant null pointer checks in olpc_ec_setup_debugfs()
Since the debugfs_create_dir() never returns a null pointer, checking the return value for a null pointer is redundant. Since debugfs_create_file() can deal with a ERR_PTR() style pointer, drop the check. Signed-off-by: Li Zetao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions