Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171577
b: refs/heads/master
c: b9f5d52
h: refs/heads/master
i:
  171575: 3e1a230
v: v3
  • Loading branch information
Marin Mitov authored and David S. Miller committed Nov 16, 2009
1 parent 6f7aab3 commit 00e25be
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d6682db114cb53bc94991659478756302e6a600
refs/heads/master: b9f5d52670c27e71f04c466aee77e3a2eeca8080
4 changes: 0 additions & 4 deletions trunk/include/linux/if_ether.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ extern struct ctl_table ether_table[];

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) __deprecated;
#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
#define MAC_BUF_SIZE 18
#define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE]
Expand Down
7 changes: 0 additions & 7 deletions trunk/net/ethernet/eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,3 @@ ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len)
return ((ssize_t) l);
}
EXPORT_SYMBOL(sysfs_format_mac);

char *print_mac(char *buf, const unsigned char *addr)
{
_format_mac_addr(buf, MAC_BUF_SIZE, addr, ETH_ALEN);
return buf;
}
EXPORT_SYMBOL(print_mac);

0 comments on commit 00e25be

Please sign in to comment.