From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755872AbbI2Hd3 (ORCPT ); Tue, 29 Sep 2015 03:33:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34803 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755654AbbI2HdV (ORCPT ); Tue, 29 Sep 2015 03:33:21 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: mwifiex: Make mwifiex_dbg a function, reduce object size From: Kalle Valo In-Reply-To: <1441043205.3276.28.camel@perches.com> To: Joe Perches Cc: Amitkumar Karwar , Nishant Sarmukadam , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <20150929073320.9C61F140BF6@smtp.codeaurora.org> Date: Tue, 29 Sep 2015 07:33:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The mwifiex_dbg macro has two tests that could be consolidated > into a function reducing overall object size ~10KB (~4%). > > So convert the macro into a function. > > $ size drivers/net/wireless/mwifiex/built-in.o* (x86-64 defconfig) > text data bss dec hex filename > 233102 8628 4809 246539 3c30b drivers/net/wireless/mwifiex/built-in.o.new > 243949 8628 4809 257386 3ed6a drivers/net/wireless/mwifiex/built-in.o.old > > Signed-off-by: Joe Perches Thanks, applied to wireless-drivers-next.git. Kalle Valo