at86rf230: fix simple_return.cocci warnings
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 6 Nov 2014 07:31:57 +0000 (15:31 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 6 Nov 2014 15:30:05 +0000 (16:30 +0100)
commit6cc6399c719d3a6ad6d6aa54a7f26f90b4bb171d
treebd33b6e14462c37a84c1c032d6b9c44971a37941
parent0916c02205ed76c03863b401e60fa105c4008cfa
at86rf230: fix simple_return.cocci warnings

drivers/net/ieee802154/at86rf230.c:1365:1-3: WARNING: end returns can be simpified

 Simplify a trivial if-return sequence.  Possibly combine with a
 preceding function call.
Generated by: scripts/coccinelle/misc/simple_return.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c