Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4304102ybz; Mon, 20 Apr 2020 20:42:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLRIDKEUSHSkZY9cuj6e2gYbyZC0LnS07RwOujcD0XeX1uZnI/fdJSWCfMUmh1glBDq6nKv X-Received: by 2002:a05:6402:1b0b:: with SMTP id by11mr16914289edb.269.1587440560447; Mon, 20 Apr 2020 20:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587440560; cv=none; d=google.com; s=arc-20160816; b=P5UbOphcPzBw4Kr69QaEARMT4dImn0fqUN2zZkA3iNT7LbVmhQTx4rMW0H3ehi3xYE y+BnBi6mPsylVUzbTFWyGCOZz1SwuZr2co1zg9U3hVJZyOzpThSRthgKBhB4o4ivHgtY f8S0ZZJr07yeVMl2vHpfCdiaFJvFH6CE5rVDH8rohjr3xNdZpuGnE7Qo7fipeiYMggkE FLWtzjzIL54hmTuF6sNTla4rL6t4U7ZvFfZgD3r7o51nQHdUQVOXWaDHBfKBz0FD2UR/ N0htX9tVTEy+feof9wiuEglnPEmPgfl6lzliH0L2eZeoKZ40blaGQIuRRxXxbibXhW7p YypA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ZjtJ0riy71zQBlHi+c8ba3xjSbLZWD/fFSNKOpPmOcM=; b=DyGNI11zTEyPDe9luIoNBgCM0eo7FuhF5Q2ZpijN38PFZHrZujbwtM+I7tDG/CcEBZ 0h9xwEfnR42oj/paJKFUXoxmIPOta0i9mzz1AjU3qZ+ftv5afxaNHJjgShlioThPT7Ej 1SGobkDsqMH2WM6H5s0fSkzX5u0+27NOzqL9Ek4KkSD4hu01Tm2OnyipBwEwNqtkQueA iIODHVyG/xm0l7cFkEsodbTqW2STXM6yYEffzxhgNYMcgo+3xdy4Lzn1ttDknaZYKV7R qm5ikE7BgWW9/8T+cymWBLL01aU7+mZvknOl6X2ADNGBgODfEuIT0lU22PgJMm/M/LZ4 f04Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 40si857153edr.556.2020.04.20.20.42.18; Mon, 20 Apr 2020 20:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbgDUDlB (ORCPT + 99 others); Mon, 20 Apr 2020 23:41:01 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56592 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726958AbgDUDlB (ORCPT ); Mon, 20 Apr 2020 23:41:01 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 3BDBC3DA52F0CFB0E359; Tue, 21 Apr 2020 11:40:57 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Tue, 21 Apr 2020 11:40:49 +0800 From: Jason Yan To: , , , , , , CC: Jason Yan Subject: [PATCH] scsi: bnx2fc: remove unneeded semicolon in bnx2fc_fcoe.c Date: Tue, 21 Apr 2020 11:40:19 +0800 Message-ID: <20200421034019.27949-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: drivers/scsi/bnx2fc/bnx2fc_fcoe.c:948:4-5: Unneeded semicolon drivers/scsi/bnx2fc/bnx2fc_fcoe.c:968:4-5: Unneeded semicolon Signed-off-by: Jason Yan --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index 1cbb431fa682..0e33324e16f5 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -945,7 +945,7 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event, */ if (interface->enabled) fcoe_ctlr_link_up(ctlr); - }; + } } else if (fcoe_ctlr_link_down(ctlr)) { switch (cdev->enabled) { case FCOE_CTLR_DISABLED: @@ -965,7 +965,7 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event, put_cpu(); fcoe_clean_pending_queue(lport); wait_for_upload = 1; - }; + } } } mutex_unlock(&bnx2fc_dev_lock); -- 2.21.1