summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-04-16 10:01:31 +0300
committerWolfram Sang <wsa+renesas@sang-engineering.com>2025-04-16 18:05:21 +0200
commita7de3fb3c2252d885c470939bae72ff9b4c820e8 (patch)
tree47bfad0088618eaf28a0aa81c58261a874cc8285 /scripts/gdb/linux/lists.py
parent8ffd015db85fea3e15a77027fda6c02ced4d2444 (diff)
i2c: core: Drop duplicate check before calling OF APIs
OF APIs are usually NULL-aware and return an error in case when device node is not present or supported. We already have a check for the returned value, no need to check for the parameter. Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions