From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:14 +0000 (+0200) Subject: at86rf230: remove unnecessary assign X-Git-Tag: firefly_0821_release~176^2~3765^2~321^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ee69559bb838ac44baf675a529b02868c4392188;p=firefly-linux-kernel-4.4.55.git at86rf230: remove unnecessary assign Signed-off-by: Alexander Aring Signed-off-by: David S. Miller --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index b324bb346871..960444b449d9 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -693,10 +693,7 @@ at86rf230_xmit(struct ieee802154_dev *dev, struct sk_buff *skb) if (rc < 0) goto err_rx; - rc = at86rf230_start(dev); - - return rc; - + return at86rf230_start(dev); err_rx: at86rf230_start(dev); err: