diff options
author | Suniel Mahesh <sunil.m@techveda.org> | 2017-09-22 07:42:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-03 19:29:07 +0300 |
commit | abd4b78793d12691380f95bf620d47f20259b44d (patch) | |
tree | 86785f03515e91e75e27c106d83c2821ebcd8cc3 /drivers/staging/ccree | |
parent | 553aff5f1b174749705b9a3c4715c0f8e3805644 (diff) | |
download | linux-abd4b78793d12691380f95bf620d47f20259b44d.tar.xz |
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.c | 5 |
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; } /*! |