diff options
author | Yingsha Xu <[email protected]> | 2023-04-19 18:45:47 +0800 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-04-20 11:46:07 +0200 |
commit | eb74bfcfa99415f1a65ce021b8ac2256b7ed50bc (patch) | |
tree | 78df50bea3c8738b19f2575821a233091be6926f /drivers/usb/cdns3/cdns3-debug.h | |
parent | 22b68fc6d693e7a2b1c0eb852463f4a72522fa08 (diff) |
wifi: mac80211: remove return value check of debugfs_create_dir()
Smatch complains that:
debugfs_hw_add() warn: 'statsd' is an error pointer or valid
Debugfs checks are generally not supposed to be checked for errors
and it is not necessary here.
Just delete the dead code.
Signed-off-by: Yingsha Xu <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions