From patchwork Sun Mar 30 21:31:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Vlasenko X-Patchwork-Id: 3910201 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 22A0FBF540 for ; Sun, 30 Mar 2014 21:32:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5D2F820256 for ; Sun, 30 Mar 2014 21:32:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83E9420253 for ; Sun, 30 Mar 2014 21:32:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752885AbaC3VcG (ORCPT ); Sun, 30 Mar 2014 17:32:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30715 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752830AbaC3Vb4 (ORCPT ); Sun, 30 Mar 2014 17:31:56 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s2ULVp9W026254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 30 Mar 2014 17:31:51 -0400 Received: from localhost.localdomain (vpn1-7-171.ams2.redhat.com [10.36.7.171]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s2ULVRPP029556; Sun, 30 Mar 2014 17:31:49 -0400 From: Denys Vlasenko To: Franky Lin , Arend van Spriel , Hante Meuleman , "John W. Linville" , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Cc: Denys Vlasenko Subject: [PATCH 4/4] brcm80211: deinline brcmf_sdio_clrintr, save 8979 bytes Date: Sun, 30 Mar 2014 23:31:19 +0200 Message-Id: <1396215079-7541-4-git-send-email-dvlasenk@redhat.com> In-Reply-To: <1396215079-7541-1-git-send-email-dvlasenk@redhat.com> References: <1396215079-7541-1-git-send-email-dvlasenk@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Automated script discovered that without forced inlining, gcc-4.7 generates smaller code for this function. There is no need to declare static functions inline anyway: nowadays gcc detects single-callsite static functions which benefit from inlining. Signed-off-by: Denys Vlasenko --- drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c index 47a6f39..55a6d0d 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c @@ -2516,7 +2516,7 @@ static void brcmf_sdio_bus_stop(struct device *dev) bus->tx_seq = bus->rx_seq = 0; } -static inline void brcmf_sdio_clrintr(struct brcmf_sdio *bus) +static void brcmf_sdio_clrintr(struct brcmf_sdio *bus) { unsigned long flags;