summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/at86rf230.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-04-24 19:09:14 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-26 18:20:34 +0200
commitee69559bb838ac44baf675a529b02868c4392188 (patch)
tree7a6e8e5fe488f97d5b1b038b3937a7ecaef538c3 /drivers/net/ieee802154/at86rf230.c
parentat86rf230: remove #ifdef CONFIG_OF (diff)
downloadlinux-ee69559bb838ac44baf675a529b02868c4392188.tar.xz
linux-ee69559bb838ac44baf675a529b02868c4392188.zip
at86rf230: remove unnecessary assign
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ieee802154/at86rf230.c')
-rw-r--r--drivers/net/ieee802154/at86rf230.c5
1 files changed, 1 insertions, 4 deletions
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: