aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorStephane Grosjean <[email protected]>2021-09-29 16:21:11 +0200
committerMarc Kleine-Budde <[email protected]>2021-10-17 22:51:51 +0200
commit553715feaa9e0453bc59f6ba20e1c69346888bd5 (patch)
tree9a4c8c11bd195f8aea61b1efb9c7fb34a2af3eb5 /lib/test_overflow.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/[email protected] Signed-off-by: Stephane Grosjean <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions