aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorZiyang Xuan <[email protected]>2022-06-06 21:14:01 +0800
committerGuenter Roeck <[email protected]>2022-07-13 08:38:20 -0700
commit9b00a5f50934b74c61982dcd30b2c21e07d0d317 (patch)
treeecf61c2b768e17e54eedb0187a19c8166bff0b29 /drivers/usb/cdns3/cdns3-trace.c
parentf9938eeb97fc786148809be6ca752c0c6baebf49 (diff)
hwmon: (occ) Delete unnecessary NULL check
kvfree(NULL) is safe. NULL check before kvfree() is not needed. Delete them to simplify the code. Generated by coccinelle script: scripts/coccinelle/free/ifnullfree.cocci Signed-off-by: Ziyang Xuan <[email protected]> Reviewed-by: Eddie James <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions