aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2023-08-25 14:46:56 +0800
committerMarc Kleine-Budde <[email protected]>2023-10-04 12:25:12 +0200
commitdd8bb80308c474ea0e7ddb244962cb2d7001bae2 (patch)
tree74fee354bdad464bafa2cbecb7629e51b2f29aa7 /drivers/fpga/fpga-bridge.c
parent2806d74deb42f7a253a40d032153c628f37c19ce (diff)
can: raw: Remove NULL check before dev_{put, hold}
The call netdev_{put, hold} of dev_{put, hold} will check NULL, so there is no need to check before using dev_{put, hold}, remove it to silence the warning: ./net/can/raw.c:497:2-9: WARNING: NULL check before dev_{put, hold} functions is not needed. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6231 Signed-off-by: Jiapeng Chong <[email protected]> Reported-by: Simon Horman <[email protected]> Acked-by: Oliver Hartkopp <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions