From: Roland Vossen Date: Mon, 8 Aug 2011 13:59:01 +0000 (+0200) Subject: staging: brcm80211: removed brcms_c_module_unregister() call in ampdu.c X-Git-Tag: firefly_0821_release~3680^2~4313^2^2~864^2~307 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a09818cc6aefd266998ec8b5e961e889965060ea;p=firefly-linux-kernel-4.4.55.git 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: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmsmac/ampdu.c b/drivers/staging/brcm80211/brcmsmac/ampdu.c index 64bbc2421576..3c0fa13ff0b6 100644 --- a/drivers/staging/brcm80211/brcmsmac/ampdu.c +++ b/drivers/staging/brcm80211/brcmsmac/ampdu.c @@ -243,7 +243,6 @@ void brcms_c_ampdu_detach(struct ampdu_info *ampdu) for (i = 0; i < AMPDU_INI_FREE; i++) kfree(ampdu->ini_free[i]); - brcms_c_module_unregister(ampdu->wlc->pub, "ampdu", ampdu); kfree(ampdu); }