linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Joe Perches <joe@perches.com>
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 4/4] wireless: Convert wiphy_debug macro to function
Date: Tue, 27 Jul 2010 14:05:56 -0400	[thread overview]
Message-ID: <20100727180556.GE31694@tuxdriver.com> (raw)
In-Reply-To: <8e7aa541ec8fb92e1166920a4eb704aa5f851b71.1280177971.git.joe@perches.com>

On Mon, Jul 26, 2010 at 02:40:00PM -0700, Joe Perches wrote:
> Save a few bytes of text
> 
> (allyesconfig)
> $ size drivers/net/wireless/built-in.o*
>    text	   data	    bss	    dec	    hex	filename
> 3924568	 100548	 871056	4896172	 4ab5ac	drivers/net/wireless/built-in.o.new
> 3926520	 100548	 871464	4898532	 4abee4	drivers/net/wireless/built-in.o.old
> 
> $ size net/wireless/core.o*
>    text	   data	    bss	    dec	    hex	filename
>   12843	    216	   3768	  16827	   41bb	net/wireless/core.o.new
>   12328	    216	   3656	  16200	   3f48	net/wireless/core.o
> 
> Signed-off-by: Joe Perches <joe@perches.com>

> --- a/net/wireless/core.c
> +++ b/net/wireless/core.c
> @@ -907,3 +907,56 @@ static void __exit cfg80211_exit(void)
>  	destroy_workqueue(cfg80211_wq);
>  }
>  module_exit(cfg80211_exit);
> +
> +#ifdef __KERNEL__

Do we need this part?

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

  reply	other threads:[~2010-07-27 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 21:39 [PATCH net-next 0/4] wireless: Add and use wiphy_<level> logging macros Joe Perches
2010-07-26 21:39 ` [PATCH net-next 1/4] include/net/cfg80211.h: Add wiphy_<level> printk equivalents Joe Perches
2010-07-26 21:39 ` [PATCH net-next 2/4] drivers/net/wireless: Use wiphy_<level> Joe Perches
2010-07-26 21:39 ` [PATCH net-next 3/4] drivers/net/wireless/at76c50x-usb.c: Neaten macros Joe Perches
2010-07-26 21:40 ` [PATCH net-next 4/4] wireless: Convert wiphy_debug macro to function Joe Perches
2010-07-27 18:05   ` John W. Linville [this message]
2010-07-27 18:34     ` Joe Perches
2010-07-27 18:57       ` John W. Linville

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100727180556.GE31694@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).