diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-12-15 11:03:11 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-12-18 13:17:26 +0100 |
commit | dd665d23c1e94ad81d8720e90666030c5714a158 (patch) | |
tree | 8bc403094cd834226108304df95d4c8746fe565d /drivers/message | |
parent | 8020919a9b99d6c990dc6a50e8215e291fbbe5a6 (diff) |
mac80211: never pass NULL params to ieee80211_if_add()
This isn't really a problem now, but it means that the function
has a few NULL checks that are only relevant when coming from
the initial interface added in mac80211, and that's confusing.
Just pass non-NULL (but equivalently empty) in that case and
remove all the NULL checks.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions