[PATCH bluetooth-next] adf7242: remove multiple returns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes an unnecessary return inside the adf7242 driver.

Cc: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx>
---
 drivers/net/ieee802154/adf7242.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
index 89154c0..738b373 100644
--- a/drivers/net/ieee802154/adf7242.c
+++ b/drivers/net/ieee802154/adf7242.c
@@ -1114,8 +1114,6 @@ static int adf7242_debugfs_init(struct adf7242_local *lp)
 					    lp->debugfs_root,
 					    adf7242_stats_show);
 	return PTR_ERR_OR_ZERO(stats);
-
-	return 0;
 }
 
 static const s32 adf7242_powers[] = {
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux