Commit a09818cc authored by Roland Vossen's avatar Roland Vossen Committed by Greg Kroah-Hartman

staging: brcm80211: removed brcms_c_module_unregister() call in ampdu.c

The AMPDU module was never registered, so it does not have to be unregistered.
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c6c092ae
...@@ -243,7 +243,6 @@ void brcms_c_ampdu_detach(struct ampdu_info *ampdu) ...@@ -243,7 +243,6 @@ void brcms_c_ampdu_detach(struct ampdu_info *ampdu)
for (i = 0; i < AMPDU_INI_FREE; i++) for (i = 0; i < AMPDU_INI_FREE; i++)
kfree(ampdu->ini_free[i]); kfree(ampdu->ini_free[i]);
brcms_c_module_unregister(ampdu->wlc->pub, "ampdu", ampdu);
kfree(ampdu); kfree(ampdu);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment