staging: ccree: remove braces for single statement blocks
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 3 Dec 2017 13:58:16 +0000 (13:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 08:55:15 +0000 (09:55 +0100)
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>
drivers/staging/ccree/ssi_request_mgr.c

index e890cb64b3ea8a7fdf2435bf307f39585f024911..5f34336209700dd2796c727632cdea611b02d0cd 100644 (file)
@@ -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 */