diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-14 12:50:33 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-09-18 10:46:25 +0300 |
commit | d8bb26b964038a465a944a393e83d7fb9f0c5f28 (patch) | |
tree | 7102462fa20b4102593cce52a1010d60ea6e4003 /drivers/net/wireless/ath/ath10k/debug.c | |
parent | ac04506c73d19dc8bdc167f79eef05d6bae5b644 (diff) | |
download | talos-op-linux-d8bb26b964038a465a944a393e83d7fb9f0c5f28.tar.gz talos-op-linux-d8bb26b964038a465a944a393e83d7fb9f0c5f28.zip |
ath10k: else is not generally useful after a break or return
Fixes checkpatch warnings:
WARNING: else is not generally useful after a break or return
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index 2bfd00b29204..ff914b4ac0e6 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c @@ -1180,8 +1180,8 @@ int ath10k_debug_register(struct ath10k *ar) if (IS_ERR_OR_NULL(ar->debug.debugfs_phy)) { if (IS_ERR(ar->debug.debugfs_phy)) return PTR_ERR(ar->debug.debugfs_phy); - else - return -ENOMEM; + + return -ENOMEM; } INIT_DELAYED_WORK(&ar->debug.htt_stats_dwork, |