aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2025-03-21 19:30:06 +0000
committerAlexandre Belloni <[email protected]>2025-03-31 09:41:48 +0000
commit465e5486aa5e1cdedc910bc3487ca92c5e6d51c4 (patch)
treea913ae3ec2cd3d53e3513ea4628da40b1ebe5a00 /drivers/net/ethernet/intel/igc/igc_main.c
parenti3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work() (diff)
downloadkernel-465e5486aa5e1cdedc910bc3487ca92c5e6d51c4.tar.gz
kernel-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 <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions