瀏覽代碼

[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>
Joe Perches 17 年之前
父節點
當前提交
fea5fa875e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      include/linux/if_ether.h

+ 0 - 1
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.
  *	Display a 6 byte device address (MAC) in a readable format.
  */
  */
 extern char *print_mac(char *buf, const unsigned char *addr);
 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 MAC_BUF_SIZE	18
 #define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused
 #define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused