Search Linux Wireless

Re: [PATCH net-next 4/4] wireless: Convert wiphy_debug macro to function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

> --- 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@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux