From patchwork Tue Sep 22 10:59:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zou Wei X-Patchwork-Id: 11792153 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A72286CB for ; Tue, 22 Sep 2020 10:51:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6861C2396D for ; Tue, 22 Sep 2020 10:51:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EpfgTtUz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6861C2396D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=PyA/ZdGzswO4tB9TqxAIB0RrGWU0K6EiNZYdeebomxE=; b=EpfgTtUzq5legWxqIoKm25SUpn JJ9+C3e4/f23st3GU/dXWHUOBcNAb7PTc9FKBKsqHfPgq9mp1bQBvWoqTiTQJrRHRl3yet7ZPb52P jKah3ATRNMNsYScaMpbdPqRkJkGKCleNrReTF/4MWRmAQjrDL3LeegLI/TdKjea3vyztsAnN7FcOj zLLKFJC4DP550dp8pWpDm2XnUI+h7707bchtcOnHm5p1wlq1Yipi4dIH0r/pANwp2xQsyuGvFmvpw d9ykg9ftaP8+n7zW1TTqPCxfEm0zBaRti/XQHYTUloil0DpRDKIKZBx62YAYa8yIR+kgT35kwcGGb KOXlzMXg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKftb-0006ne-UD; Tue, 22 Sep 2020 10:51:39 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191] helo=huawei.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKftY-0006mS-Tx for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2020 10:51:37 +0000 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 8E089621D9B13FF0F19A; Tue, 22 Sep 2020 18:51:30 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Tue, 22 Sep 2020 18:51:21 +0800 From: Zou Wei To: , , Subject: [PATCH -next] firmware: ti_sci: Remove unneeded semicolon Date: Tue, 22 Sep 2020 18:59:04 +0800 Message-ID: <1600772344-79841-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200922_065137_236334_E9329DED X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [45.249.212.191 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [45.249.212.191 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zou Wei , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes coccicheck warning: ./drivers/firmware/ti_sci.c:1759:2-3: Unneeded semicolon ./drivers/firmware/ti_sci.c:2191:2-3: Unneeded semicolon Fixes: 9c19fb6895be ("firmware: ti_sci: Add support for RM core ops") Fixes: 68608b5e5063 ("firmware: ti_sci: Add resource management APIs for ringacc, psi-l and udma") Signed-off-by: Zou Wei Reviewed-by: Nishanth Menon --- drivers/firmware/ti_sci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 896f53e..e0c8adf 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -1756,7 +1756,7 @@ static int ti_sci_get_resource_range(const struct ti_sci_handle *handle, } else { *range_start = resp->range_start; *range_num = resp->range_num; - }; + } fail: ti_sci_put_one_xfer(&info->minfo, xfer); @@ -2188,7 +2188,7 @@ static int ti_sci_cmd_ring_get_config(const struct ti_sci_handle *handle, *size = resp->size; if (order_id) *order_id = resp->order_id; - }; + } fail: ti_sci_put_one_xfer(&info->minfo, xfer);