summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-03-21 22:30:06 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-03-31 12:41:48 +0300
commit465e5486aa5e1cdedc910bc3487ca92c5e6d51c4 (patch)
treea913ae3ec2cd3d53e3513ea4628da40b1ebe5a00 /tools/perf/scripts/python/gecko.py
parente8d2d287e26d9bd9114cf258a123a6b70812442e (diff)
downloadlinux-465e5486aa5e1cdedc910bc3487ca92c5e6d51c4.tar.xz
i3c: master: Drop duplicate check before calling OF APIs
OF APIs are usually NULL-aware and returns 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. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20250321193044.457649-1-andriy.shevchenko@linux.intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions