mrf24j40: remove unnecessary return statement
authorVarka Bhadram <varkabhadram@gmail.com>
Wed, 24 Sep 2014 10:21:31 +0000 (12:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Sep 2014 12:14:42 +0000 (14:14 +0200)
Remove the return statement in the void function.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Acked-by: Alan Ott <alan@signal11.us>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/mrf24j40.c

index 466da572e3f5350de690b3bcd4a20188f2b17021..2c617e368dca24e0557d023410d7d1b4168c2fe0 100644 (file)
@@ -420,8 +420,6 @@ static void mrf24j40_stop(struct ieee802154_dev *dev)
                return;
        val |= 0x1|0x8; /* Set TXNIE and RXIE. Disable Interrupts */
        write_short_reg(devrec, REG_INTCON, val);
-
-       return;
 }
 
 static int mrf24j40_set_channel(struct ieee802154_dev *dev,