summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-12-15 12:25:57 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-12-19 02:19:25 +0300
commit2a100501605461dab8e59ec6c642075dcac672aa (patch)
tree6388c2a5e7053dd5e90f98e6614760b00c5ae75c /drivers/net/ieee802154
parent4fef7d3b0151576019a7a055ffd18fced6e55944 (diff)
downloadlinux-2a100501605461dab8e59ec6c642075dcac672aa.tar.xz
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)
return -EINVAL;
}
- lp->hw->extra_tx_headroom = 0;
lp->hw->flags = IEEE802154_HW_TX_OMIT_CKSUM | IEEE802154_HW_AACK |
IEEE802154_HW_TXPOWER | IEEE802154_HW_ARET |
IEEE802154_HW_AFILT | IEEE802154_HW_PROMISCUOUS;