staging: brcm80211: removed brcms_c_module_unregister() call in ampdu.c
authorRoland Vossen <rvossen@broadcom.com>
Mon, 8 Aug 2011 13:59:01 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:00:10 +0000 (13:00 -0700)
The AMPDU module was never registered, so it does not have to be unregistered.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/ampdu.c

index 64bbc2421576a3512d0ed1b60ff04c98559cc2b8..3c0fa13ff0b6ec21ddb7ef3dbe46a627cbdea591 100644 (file)
@@ -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);
 }