From patchwork Fri Jul 22 18:57:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arend van Spriel X-Patchwork-Id: 1000622 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6MIvtlX026963 for ; Fri, 22 Jul 2011 18:57:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755118Ab1GVS5w (ORCPT ); Fri, 22 Jul 2011 14:57:52 -0400 Received: from mms2.broadcom.com ([216.31.210.18]:3355 "EHLO mms2.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755062Ab1GVS5e (ORCPT ); Fri, 22 Jul 2011 14:57:34 -0400 Received: from [10.9.200.131] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Fri, 22 Jul 2011 12:02:27 -0700 X-Server-Uuid: D3C04415-6FA8-4F2C-93C1-920E106A2031 Received: from mail-irva-13.broadcom.com (10.11.16.103) by IRVEXCHHUB01.corp.ad.broadcom.com (10.9.200.131) with Microsoft SMTP Server id 8.2.247.2; Fri, 22 Jul 2011 11:57:25 -0700 Received: from mail-sj1-12.sj.broadcom.com (mail-sj1-12.sj.broadcom.com [10.17.16.106]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 1B5DF74D07; Fri, 22 Jul 2011 11:57:25 -0700 (PDT) Received: from arend-laptop (unknown [10.177.252.246]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id AFFA120510; Fri, 22 Jul 2011 11:57:22 -0700 (PDT) Received: from arend by arend-laptop with local (Exim 4.74) ( envelope-from ) id 1QkKuV-0000rL-Sy; Fri, 22 Jul 2011 20:57:19 +0200 From: "Arend van Spriel" To: gregkh@suse.de cc: "Roland Vossen" , devel@linuxdriverproject.org, linux-wireless@vger.kernel.org, "Arend van Spriel" Subject: [PATCH 25/29] staging: brcm80211: removed brcms_c_module_unregister() call in ampdu.c Date: Fri, 22 Jul 2011 20:57:12 +0200 Message-ID: <1311361036-3175-26-git-send-email-arend@broadcom.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1311361036-3175-1-git-send-email-arend@broadcom.com> References: <1311361036-3175-1-git-send-email-arend@broadcom.com> MIME-Version: 1.0 X-WSS-ID: 623716C94U8628135-02-01 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 22 Jul 2011 18:57:58 +0000 (UTC) From: Roland Vossen The AMPDU module was never registered, so it does not have to be unregistered. Cc: devel@linuxdriverproject.org Cc: linux-wireless@vger.kernel.org Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel --- drivers/staging/brcm80211/brcmsmac/ampdu.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/staging/brcm80211/brcmsmac/ampdu.c b/drivers/staging/brcm80211/brcmsmac/ampdu.c index 64bbc24..3c0fa13 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); }