aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorWang Zhang <[email protected]>2023-04-21 23:10:09 +0800
committerDavid S. Miller <[email protected]>2023-04-23 13:37:27 +0100
commitb148b9abc8444c9e0579a6bbe47b2da6adf5a150 (patch)
treeaa63670e701ad5a97a7b9f5ed512837c1ea19ca3 /drivers/usb/cdns3/cdns3-debug.h
parente0416e7d33361d2ad0bf9f007428346579ac854a (diff)
net: ethernet: mediatek: remove return value check of `mtk_wed_hw_add_debugfs`
Smatch complains that: mtk_wed_hw_add_debugfs() warn: 'dir' is an error pointer or valid Debugfs checks are generally not supposed to be checked for errors and it is not necessary here. fix it by just deleting the dead code. Signed-off-by: Wang Zhang <[email protected]> Reviewed-by: Dongliang Mu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions