summaryrefslogtreecommitdiff
path: root/drivers/staging/ccree
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil.m@techveda.org>2017-09-22 10:12:21 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-03 18:29:07 +0200
commitabd4b78793d12691380f95bf620d47f20259b44d (patch)
tree86785f03515e91e75e27c106d83c2821ebcd8cc3 /drivers/staging/ccree
parent553aff5f1b174749705b9a3c4715c0f8e3805644 (diff)
staging: ccree: 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: Suniel Mahesh <sunil.m@techveda.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree')
-rw-r--r--drivers/staging/ccree/ssi_request_mgr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c
index 066b6a6a1146..2e0df57bc06f 100644
--- a/drivers/staging/ccree/ssi_request_mgr.c
+++ b/drivers/staging/ccree/ssi_request_mgr.c
@@ -386,10 +386,9 @@ int send_request(
*/
wait_for_completion(&ssi_req->seq_compl);
return 0;
- } else {
- /* Operation still in process */
- return -EINPROGRESS;
}
+ /* Operation still in process */
+ return -EINPROGRESS;
}
/*!