summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMartin Jocic <martin.jocic@kvaser.com>2024-06-14 17:15:19 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-06-21 09:45:27 +0200
commitac765219c2c4e44f29063724c8d36435a3e61985 (patch)
treed48da684beaf6c97fab5855ad14218f43c1cad79 /net/unix/af_unix.c
parentcdbc9d055fc7540e6a88ec2bdd7fee46e026156c (diff)
can: kvaser_pciefd: Skip redundant NULL pointer check in ISR
This check is already done at the creation of the net devices in kvaser_pciefd_setup_can_ctrls called from kvaser_pciefd_probe. If it fails, the driver won't load, so there should be no need to repeat the check inside the ISR. The number of channels is read from the FPGA and should be trusted. Signed-off-by: Martin Jocic <martin.jocic@kvaser.com> Link: https://lore.kernel.org/all/20240614151524.2718287-3-martin.jocic@kvaser.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions