• B
    mwifiex: fix misnomers in mwifiex_free_lock_list() · 5e6588b9
    Brian Norris 提交于
    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: NBrian Norris <briannorris@chromium.org>
    Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
    5e6588b9
init.c 21.1 KB