From: Alexander Aring Date: Mon, 15 Dec 2014 09:25:57 +0000 (+0100) Subject: at86rf230: remove unnecessary assign X-Git-Tag: v4.14-rc1~5989^2~303^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a100501605461dab8e59ec6c642075dcac672aa;p=platform%2Fkernel%2Flinux-rpi.git at86rf230: remove unnecessary assign The attribute extra_tx_headroom should already be zero. Signed-off-by: Alexander Aring Reviewed-by: Stefan Schmidt Signed-off-by: Marcel Holtmann --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 6d1ef83..2ebaba3 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;