From patchwork Sun Dec 3 13:58:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 120460 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3361201qgn; Sun, 3 Dec 2017 05:59:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMbJExnf0s2W0fYdT4drB8CIdskHqFHdLukNLKtvvUBtDOBwcpPZlyuhAsp4K1cv48jG3y+m X-Received: by 10.159.206.200 with SMTP id x8mr11785838plo.273.1512309591104; Sun, 03 Dec 2017 05:59:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512309591; cv=none; d=google.com; s=arc-20160816; b=mciss2rkL7aFp6zySNTd1um0OiT+3kLky/Grw7ueRWfpaL9I9Po0pOEfWCEJ6NMlRe Mdlt0b0l9TWG0dj0tkNMHFHlqDY+oQSjDp70UYnAjEIKjHydxevGnGMlNcUWeqvJhHa9 qWxyie2s004ZZ+c/Whthjcu10apSSP8S6fVeb0xnh1mZTuGToUfpQd8XzkCaa58tR1hx YKFGajv7UbNace+aO7rBEyRiKIHmPuWLNwMsvZkO2WhxvstiNyw+oJPOlNKty0OkpMk2 vVWFDqI6kqXTyXwmHpAamjjvfT1ucTFYrnju7i/iOh1B+vYWCZgyJnXT5ynaTyG4ZYVv YM+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=IPA1aZSudNJXHud9kW0f4ZraL+8ihlpWNn7IPC0Cvoc=; b=GSQomLHFEgU+3NJAN9NYKdC8mlb9xUtJtccli7pFBRSt+bWltunMguqqP8kvY4YmN8 Rm/wUOi2vAusChAj8CWtzRYs9xXr8UABvcpCSTk5OkDmz+G5xSmLW6lelDp5QNXeBuST zoQ3yTQZm1UpujrINnkHhxdbGa48cWgm5b7DUOe3BMDlRI4fhkoP8k1ZN1KGPgfvz2T+ fUoxkcRPTHFlm7+Nxb59fc0MW/iJeX9A8N+8UuLutz9JX20XkTvdA4Hc693e7EALtglx nMdTPcRyCyPF5eQXv4v9pcMdBtUy1s2t7eB6Qzso+4lKkUzPQI4OAOtKieagAv9p1rS/ ruMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si7813281pgp.512.2017.12.03.05.59.50; Sun, 03 Dec 2017 05:59:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752550AbdLCN7s (ORCPT + 28 others); Sun, 3 Dec 2017 08:59:48 -0500 Received: from foss.arm.com ([217.140.101.70]:55184 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501AbdLCN7l (ORCPT ); Sun, 3 Dec 2017 08:59:41 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CC5A81529; Sun, 3 Dec 2017 05:59:40 -0800 (PST) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4F0433F24A; Sun, 3 Dec 2017 05:59:38 -0800 (PST) From: Gilad Ben-Yossef To: Greg Kroah-Hartman Cc: Ofir Drang , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org Subject: [PATCH 05/10] staging: ccree: remove braces for single statement blocks Date: Sun, 3 Dec 2017 13:58:16 +0000 Message-Id: <1512309503-29766-6-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512309503-29766-1-git-send-email-gilad@benyossef.com> References: <1512309503-29766-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove braces from single statement if clause. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index e890cb6..5f34336 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 */