diff options
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) | |||
83 | return 0; | 83 | return 0; |
84 | } | 84 | } |
85 | 85 | ||
86 | unsigned long long | ||
87 | mac_addr(char addr[6]) | ||
88 | { | ||
89 | __be64 n = 0; | ||
90 | char *p = (char *) &n; | ||
91 | |||
92 | memcpy(p + 2, addr, 6); /* (sizeof addr != 6) */ | ||
93 | |||
94 | return (unsigned long long) __be64_to_cpu(n); | ||
95 | } | ||
96 | |||
97 | void | 86 | void |
98 | aoenet_xmit(struct sk_buff_head *queue) | 87 | aoenet_xmit(struct sk_buff_head *queue) |
99 | { | 88 | { |