diff options
author | 2025-03-21 21:30:06 +0200 | |
---|---|---|
committer | 2025-03-31 11:41:48 +0200 | |
commit | 465e5486aa5e1cdedc910bc3487ca92c5e6d51c4 (patch) | |
tree | a913ae3ec2cd3d53e3513ea4628da40b1ebe5a00 /scripts/lib/kdoc/kdoc_files.py | |
parent | i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work() (diff) | |
download | linux-rng-465e5486aa5e1cdedc910bc3487ca92c5e6d51c4.tar.xz linux-rng-465e5486aa5e1cdedc910bc3487ca92c5e6d51c4.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions