summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-12-03 13:58:16 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-06 09:55:15 +0100
commit40def03a522a321f7d15f5dc391fdc6693562865 (patch)
treece0b36800418735045c34e7ce0a1ee587b229c09 /drivers
parent1b3784473560b3e93df9152c4144cb96aa3f0af1 (diff)
staging: ccree: remove braces for single statement blocks
Remove braces from single statement if clause. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ccree/ssi_request_mgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c
index e890cb64b3ea..5f3433620970 100644
--- a/drivers/staging/ccree/ssi_request_mgr.c
+++ b/drivers/staging/ccree/ssi_request_mgr.c
@@ -228,9 +228,8 @@ static int request_mgr_queues_status_check(
for (poll_queue = 0; poll_queue < SSI_MAX_POLL_ITER ; poll_queue++) {
req_mgr_h->q_free_slots =
cc_ioread(drvdata, CC_REG(DSCRPTR_QUEUE_CONTENT));
- if (req_mgr_h->q_free_slots < req_mgr_h->min_free_hw_slots) {
+ if (req_mgr_h->q_free_slots < req_mgr_h->min_free_hw_slots)
req_mgr_h->min_free_hw_slots = req_mgr_h->q_free_slots;
- }
if (req_mgr_h->q_free_slots >= total_seq_len) {
/* If there is enough place return */