summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-08-11 13:25:09 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-08-14 08:49:25 +0200
commit0ba1f94e72b811215ce2f4610fe0f6cf88f4b28a (patch)
tree6473ec58dbba15cfb03a1110ada26a3f5538eb7b /net
parentb288a4963f09459c29cca240d3352cc7915710fc (diff)
downloadlinux-stable-0ba1f94e72b811215ce2f4610fe0f6cf88f4b28a.tar.gz
linux-stable-0ba1f94e72b811215ce2f4610fe0f6cf88f4b28a.tar.bz2
linux-stable-0ba1f94e72b811215ce2f4610fe0f6cf88f4b28a.zip
ieee802154: 6lowpan: remove unused function
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net')
-rw-r--r--net/ieee802154/6lowpan_rtnl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
index 016b77ee88f0..509d7a625a4b 100644
--- 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)