Bluetooth: 6lowpan: remove unnecessary codes in give_skb_to_upper
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 16 Oct 2014 02:21:55 +0000 (10:21 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 05:56:25 +0000 (07:56 +0200)
commit4456c50d23d44352f4174a9a0cb75313d3150907
treead5c28b0db9371623b1025e776c11f34e0c5e746
parent15346a9c2875cae8e84c13196a2fc7428d9358d4
Bluetooth: 6lowpan: remove unnecessary codes in give_skb_to_upper

netif_rx() only returns NET_RX_DROP and NET_RX_SUCCESS, not returns
negative value

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c