summaryrefslogtreecommitdiff
path: root/lib/of-reconfig-notifier-error-inject.c
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2021-09-29 16:21:11 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-10-17 22:51:51 +0200
commit553715feaa9e0453bc59f6ba20e1c69346888bd5 (patch)
tree9a4c8c11bd195f8aea61b1efb9c7fb34a2af3eb5 /lib/of-reconfig-notifier-error-inject.c
parent3d031abc7e7249573148871180c28ecedb5e27df (diff)
can: peak_usb: pcan_usb_fd_decode_status(): remove unnecessary test on the nullity of a pointer
Since alloc_can_err_skb() puts NULL in cf in the case when skb cannot be allocated and can_change_state() handles the case when cf is NULL, the test on the nullity of skb is now unnecessary. Link: https://lore.kernel.org/all/20210929142111.55757-2-s.grosjean@peak-system.com Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/of-reconfig-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions