Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4303733ybz; Mon, 20 Apr 2020 20:42:01 -0700 (PDT) X-Google-Smtp-Source: APiQypJ+2YTVdHKIA3Rm0J6T/iWw5F5PCCqupE2fbuF71KiJ1yQGXTI/+3PlDiCz/GUuBQLbHnMF X-Received: by 2002:a50:d7c7:: with SMTP id m7mr4471408edj.101.1587440521806; Mon, 20 Apr 2020 20:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587440521; cv=none; d=google.com; s=arc-20160816; b=uF8HtYCe3yvzJ57z6Vu/xIDCUL5nEv/56JUyM3H4sma8rYeO3OgsploHqVLx46X4hG PeU5BRuhGij0kJ0bL5gykMdhCcXgfh1kP5pvpNCRQYPuV4fm66K0gH8ygHXy4c6snc5/ C9n4ycF6wj6rVOi0fPcB0mEzmECPEU/kReGU7H57bv4DGVnjRd4rNg+qYQI7r6E2BuMj XTSvcV30fD1R/igz7D7g5+C0wqbPkLOEzP17wWLtLodDfEN2kCmXkJvHVe7E4y5g7pZV qnrVGkyXR46gsr83y1NcENCgP8cBd8D9nj5EZe+xy46TNVPYGHVU41PmB7Ipl6UaA174 ft/A== 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=tC5PT9oPjSYunbzfUNIY4m9kEuxBGyhzvARLdaCchyA=; b=D6GCVuLuMtFJr1n/jAW0xpVqkAYGYIsUS/m8+jUcAt13EtlJxvTK+A7C344PyO8X40 tV0Jo3dk0iUgPqEaqcAhvSr+UfTpRyqceYcS00NVDwmOQfOHFvhRRhKlezHHINlDfoaV B7jysLTiXhnWD3v/qv5KQw4nTV75Cx+LvY3GmHXrBJKP68hKY8cGwcFMQxc88ns3gJk3 FvtEGmnt1R0EY7F1Wx/ENsECWqCWQ5S8cVjzt+36/F/ccK0x6XNWCjp/JBJv5tR7BgOu 23CnHJ++URxOEsP8MAoMkZAy9X2xznjonRZr+bOSVOkSCmqFlcZhn+25pXZQ9OMAwgUe mnJw== 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 m4si804588eje.107.2020.04.20.20.41.38; Mon, 20 Apr 2020 20:42:01 -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 S1728138AbgDUDkn (ORCPT + 99 others); Mon, 20 Apr 2020 23:40:43 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2811 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726958AbgDUDkm (ORCPT ); Mon, 20 Apr 2020 23:40:42 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D90B5BE50431154AF9E5; Tue, 21 Apr 2020 11:40:36 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Tue, 21 Apr 2020 11:40:28 +0800 From: Jason Yan To: , , , , , , CC: Jason Yan Subject: [PATCH] scsi: bfa: remove unneeded semicolon in bfa_fcs_rport.c Date: Tue, 21 Apr 2020 11:39:57 +0800 Message-ID: <20200421033957.27783-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/bfa/bfa_fcs_rport.c:2452:2-3: Unneeded semicolon drivers/scsi/bfa/bfa_fcs_rport.c:1578:3-4: Unneeded semicolon Signed-off-by: Jason Yan --- drivers/scsi/bfa/bfa_fcs_rport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bfa/bfa_fcs_rport.c b/drivers/scsi/bfa/bfa_fcs_rport.c index 82801b366500..fc294e1950a6 100644 --- a/drivers/scsi/bfa/bfa_fcs_rport.c +++ b/drivers/scsi/bfa/bfa_fcs_rport.c @@ -1575,7 +1575,7 @@ bfa_fcs_rport_sm_nsdisc_sent(struct bfa_fcs_rport_s *rport, bfa_timer_start(rport->fcs->bfa, &rport->timer, bfa_fcs_rport_timeout, rport, bfa_fcs_rport_del_timeout); - }; + } break; case RPSM_EVENT_DELETE: @@ -2449,7 +2449,7 @@ bfa_fcs_rport_hal_online_action(struct bfa_fcs_rport_s *rport) bfa_fcs_itnim_brp_online(rport->itnim); if (!BFA_FCS_PID_IS_WKA(rport->pid)) bfa_fcs_rpf_rport_online(rport); - }; + } wwn2str(lpwwn_buf, bfa_fcs_lport_get_pwwn(port)); wwn2str(rpwwn_buf, rport->pwwn); -- 2.21.1