diff options
author | Brian Norris <briannorris@chromium.org> | 2017-07-25 04:13:25 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-07-28 17:47:49 +0300 |
commit | 5e6588b9d4ab0f97ff7ea58195f4c6fd6380bd91 (patch) | |
tree | 14cae559775d79526db10c9798316ec5010cac9d /drivers/net/wireless/marvell/mwifiex/wmm.c | |
parent | 9557d9f2e62b0c929510e4dda32013aa62453558 (diff) | |
download | linux-5e6588b9d4ab0f97ff7ea58195f4c6fd6380bd91.tar.xz |
mwifiex: fix misnomers in mwifiex_free_lock_list()
Despite the name (and meticulous comments), this function frees no
memory and does not touch any locks. All it does is "delete" the list
heads -- which just means they'll be dangling, and we'll need to re-init
them if we use them again.
It seems like this code would work OK as a sort of canary for using the
list after we've torn everything down, so it's fine to keep the code;
let's just get the name and comments to match what's actually happening.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/wmm.c')
0 files changed, 0 insertions, 0 deletions