diff options
author | Joe Perches <joe@perches.com> | 2015-03-24 21:10:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 15:09:35 +0300 |
commit | ea07278681c9738b8da96670be20898cd40c7bfe (patch) | |
tree | e547bc531d28f5bd485ffadaeb696843cd63f2e8 /drivers/staging/rtl8723au/include | |
parent | 92def781ee757ba384ecc618004a9419d04ea749 (diff) | |
download | linux-ea07278681c9738b8da96670be20898cd40c7bfe.tar.xz |
staging: rtl8723au: Remove uses of MAC_FMT and MAC_ARG
Use the standard vsprintf kernel extension to format
mac addresses.
This reduces object code size a bit.
Miscellanea:
o Coalesce formats
o Realign arguments
o Remove the now unused MAC_FMT and MAC_ARG #defines
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/include')
-rw-r--r-- | drivers/staging/rtl8723au/include/ieee80211.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723au/include/ieee80211.h b/drivers/staging/rtl8723au/include/ieee80211.h index 3caf4f502ad8..3aa40a32555e 100644 --- a/drivers/staging/rtl8723au/include/ieee80211.h +++ b/drivers/staging/rtl8723au/include/ieee80211.h @@ -251,9 +251,6 @@ join_res: > 0: TID */ -#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" -#define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5] - #define MAXTID 16 #define WME_OUI_TYPE 2 |