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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a09818cc6aefd266998ec8b5e961e889965060ea;p=openwrt%2Fstaging%2Fblogic.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); }