]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: 6lowpan: remove check on null
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:18 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:02 +0000 (13:20 +0200)
commite431a4a6d66144c3f2e6a10b9830df4084694909
treead86d3e0e09939d534798195673472f3b762e3a2
parent6f052b0697cb467dcd97b235dd269472089b4ee8
ieee802154: 6lowpan: remove check on null

This patch removes one check on null which should be already done by
checking before for ARPHRD_IEEE802154. All ARPHRD_IEEE802154 and
ARPHRD_IEEE802154_MONITOR should have wdev->ieee802154_ptr, where
ARPHRD_IEEE802154 is currently a node interface only.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/core.c