[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100727180556.GE31694@tuxdriver.com>
Date: Tue, 27 Jul 2010 14:05:56 -0400
From: "John W. Linville" <linville@...driver.com>
To: Joe Perches <joe@...ches.com>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 4/4] wireless: Convert wiphy_debug macro to
function
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@...ches.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@...driver.com might be all we have. Be ready.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists