diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-11-25 09:40:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 09:40:37 +0100 |
commit | 411c41eea58bd3500cf897e2c27dd5330935a3a8 (patch) | |
tree | c6987d1351581def73321b7c8d518ac75db876a2 /drivers/block/aoe/aoenet.c | |
parent | hso: Hook up ->reset_resume (diff) | |
download | linux-411c41eea58bd3500cf897e2c27dd5330935a3a8.tar.xz linux-411c41eea58bd3500cf897e2c27dd5330935a3a8.zip |
aoe: remove private mac address format function
Add %pm to omit the colons when printing a mac address.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/aoe/aoenet.c')
-rw-r--r-- | drivers/block/aoe/aoenet.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c index 9157d64270cb..30de5b1c647e 100644 --- a/drivers/block/aoe/aoenet.c +++ b/drivers/block/aoe/aoenet.c @@ -83,17 +83,6 @@ set_aoe_iflist(const char __user *user_str, size_t size) return 0; } -unsigned long long -mac_addr(char addr[6]) -{ - __be64 n = 0; - char *p = (char *) &n; - - memcpy(p + 2, addr, 6); /* (sizeof addr != 6) */ - - return (unsigned long long) __be64_to_cpu(n); -} - void aoenet_xmit(struct sk_buff_head *queue) { |