OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b288a49
)
ieee802154: 6lowpan: remove unused function
author
Alexander Aring
<alex.aring@gmail.com>
Mon, 11 Aug 2014 11:25:09 +0000
(13:25 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:25 +0000
(08:49 +0200)
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan_rtnl.c
patch
|
blob
|
history
diff --git
a/net/ieee802154/6lowpan_rtnl.c
b/net/ieee802154/6lowpan_rtnl.c
index
016b77e
..
509d7a6
100644
(file)
--- a/
net/ieee802154/6lowpan_rtnl.c
+++ b/
net/ieee802154/6lowpan_rtnl.c
@@
-77,14
+77,6
@@
lowpan_dev_info *lowpan_dev_info(const struct net_device *dev)
return netdev_priv(dev);
}
-static inline void lowpan_address_flip(u8 *src, u8 *dest)
-{
- int i;
-
- for (i = 0; i < IEEE802154_ADDR_LEN; i++)
- (dest)[IEEE802154_ADDR_LEN - i - 1] = (src)[i];
-}
-
static int lowpan_header_create(struct sk_buff *skb, struct net_device *dev,
unsigned short type, const void *_daddr,
const void *_saddr, unsigned int len)