[PATCH net-next] include/linux/if_ether.h: Remove unused #define MAC_FMT

Subsystems: networking drivers, the rest

STALE5860d

2 messages, 2 authors, 2010-08-24 · open the first message on its own page

[PATCH net-next] include/linux/if_ether.h: Remove unused #define MAC_FMT

From: Joe Perches <joe@perches.com>
Date: 2010-08-24 19:30:17

Last use was removed, so remove the #define.

Signed-off-by: Joe Perches <joe@perches.com>
---
 include/linux/if_ether.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index bed7a46..f9c3df0 100644
--- a/include/linux/if_ether.h
+++ b/include/linux/if_ether.h
@@ -137,8 +137,6 @@ extern struct ctl_table ether_table[];
 
 extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len);
 
-#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
-
 #endif
 
 #endif	/* _LINUX_IF_ETHER_H */

Re: [PATCH net-next] include/linux/if_ether.h: Remove unused #define MAC_FMT

From: David Miller <davem@davemloft.net>
Date: 2010-08-24 21:46:48

From: Joe Perches <joe@perches.com>
Date: Tue, 24 Aug 2010 12:30:11 -0700
Last use was removed, so remove the #define.

Signed-off-by: Joe Perches <joe@perches.com>
yippie :)  Applied, thanks Joe.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help