summaryrefslogtreecommitdiff
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
authorliuguoqiang <liuguoqiang@uniontech.com>2021-11-15 12:21:39 +0300
committerJohannes Berg <johannes.berg@intel.com>2021-11-26 13:49:17 +0300
commit3536672bbdc2e7093333be85c945a63aef4c6bb8 (patch)
tree6c6bf9b9eb57c03c510b463cd33b4e44a3742ad5 /net/wireless/trace.h
parentd787a3e38f01bfc4566df4e85d432a29d192e637 (diff)
downloadlinux-3536672bbdc2e7093333be85c945a63aef4c6bb8.tar.xz
cfg80211: delete redundant free code
When kzalloc failed and rdev->sacn_req or rdev->scan_msg is null, pass a null pointer to kfree is redundant, delete it and return directly. Signed-off-by: liuguoqiang <liuguoqiang@uniontech.com> Link: https://lore.kernel.org/r/20211115092139.24407-1-liuguoqiang@uniontech.com [remove now unused creq = NULL assigment] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/trace.h')
0 files changed, 0 insertions, 0 deletions