at86rf230: remove unnecessary assign
authorAlexander Aring <alex.aring@gmail.com>
Thu, 24 Apr 2014 17:09:14 +0000 (19:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Apr 2014 16:20:34 +0000 (12:20 -0400)
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c

index b324bb346871c884109d21d97faf462a7a3cbbf2..960444b449d9ecfcae06d92886af82bb2f93b00b 100644 (file)
@@ -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: