aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-12-15 04:25:57 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-12-18 18:19:25 -0500
commit2a100501605461dab8e59ec6c642075dcac672aa (patch)
tree6388c2a5e7053dd5e90f98e6614760b00c5ae75c /drivers/net/ieee802154
parent4fef7d3b0151576019a7a055ffd18fced6e55944 (diff)
at86rf230: remove unnecessary assign
The attribute extra_tx_headroom should already be zero. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/at86rf230.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 6d1ef83a3a5b..2ebaba34e408 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -1431,7 +1431,6 @@ at86rf230_detect_device(struct at86rf230_local *lp)
1431 return -EINVAL; 1431 return -EINVAL;
1432 } 1432 }
1433 1433
1434 lp->hw->extra_tx_headroom = 0;
1435 lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK | 1434 lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK |
1436 IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET | 1435 IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET |
1437 IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS; 1436 IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS;