aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_ether.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2008-02-17 23:35:28 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-17 23:35:28 -0800
commitfea5fa875eb235dc186b1f5184eb36abc63e26cc (patch)
tree5136258ad12b19cf258ec223c5020cd5458dffd5 /include/linux/if_ether.h
parentnet/8021q/vlan_dev.c: Use print_mac. (diff)
downloadlinux-dev-fea5fa875eb235dc186b1f5184eb36abc63e26cc.tar.xz
linux-dev-fea5fa875eb235dc186b1f5184eb36abc63e26cc.zip
[NET]: Remove MAC_FMT
MAC_FMT is no longer used Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_ether.h')
-rw-r--r--include/linux/if_ether.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index e157c1399b61..7a1e011b8a2c 100644
--- a/include/linux/if_ether.h
+++ b/include/linux/if_ether.h
@@ -130,7 +130,6 @@ extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len);
* Display a 6 byte device address (MAC) in a readable format.
*/
extern char *print_mac(char *buf, const unsigned char *addr);
-#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
#define MAC_BUF_SIZE 18
#define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused