ieee802154: 6lowpan: remove unused function
authorAlexander Aring <alex.aring@gmail.com>
Mon, 11 Aug 2014 11:25:09 +0000 (13:25 +0200)
committerMarcel 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

index 016b77e..509d7a6 100644 (file)
@@ -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)