From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:14 +0000 (+0200) Subject: at86rf230: remove unnecessary assign X-Git-Tag: v4.14-rc1~7383^2~321^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee69559bb838ac44baf675a529b02868c4392188;p=platform%2Fkernel%2Flinux-rpi.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 b324bb3..960444b 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: