Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1427467imw; Sat, 16 Jul 2022 06:26:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vtXzx+3sxTFYRnc4FRe/sq9jIDsHijEYqOF/zy1Ukr1WYNkZ+T/e4hlQTi68yPJYOk8xLN X-Received: by 2002:a17:907:c2a:b0:72b:8119:4da9 with SMTP id ga42-20020a1709070c2a00b0072b81194da9mr17774489ejc.746.1657978001400; Sat, 16 Jul 2022 06:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657978001; cv=none; d=google.com; s=arc-20160816; b=KPhIo8EjQjv8SREEFDDH4G0jaFExUJvE5wLe4RGuFrYZ5RUBjMxpI1BwKRvmqhAmGP gX0i+INn2sW9v0dAFeAqeZV2kJBqPwEIn/MFyyBBc+29AEqSNHCo3H47bA7pqzJcZW0m 98D4yvfGS5WsHI5py/9ch7gmPl+9r8Ed3ulthSxptwprSr7K3UgUCwx4sAhmNu/tchz2 DIIEymPBgh7xyDkEqSb2LzIlkxah3lIn1xlFrsSzy+G/Yrv53jzDiJIE+TmNyKzlA/Qq 4xVx0Rx/wNJUEK5g/RK9NsE52vzMDNMqXM4xzhSVl32acr4KnEcL75Iz2C0Sbwg3m2ur 6kOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=LvC+7Nto+Xd0AuKZqNtJ3yy/MphQ1RTcyxRaN7zDKo0=; b=bJIWT78clr4iaujrRKDZ7dOY5R8+AvgRPdtuQDNGkTToHanw9JjK/T7Wh6s7f7bojK gSQPozTkibyrkPxLFqio/roXdGpP38/8sdoMT8KAvi1W51CrzNHq36QjO+LuKicPI6aR FOFj8QaeWSSntXcl0BI/hCkYY5iD2gxw4nWLk49N2o9e/+rVqJotYQATlyDnRbiYWVj+ jRtd5nu36/04VVZT/41kdDb54fbaCfsauhTvwJw6MuTZZtML0nBJpm/QxvSYcRDNyAVM m9QUlg+WsidvQbYPp2+GgD6g92PTXJR0V9lD1+9AWi8yDwHDOVDMxaMaBlo9dpLfmqvh 2Hhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc24-20020a1709071c1800b007262ce19578si10364970ejc.549.2022.07.16.06.26.13; Sat, 16 Jul 2022 06:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231311AbiGPM4R (ORCPT + 99 others); Sat, 16 Jul 2022 08:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiGPM4P (ORCPT ); Sat, 16 Jul 2022 08:56:15 -0400 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23C5D1137; Sat, 16 Jul 2022 05:56:09 -0700 (PDT) X-QQ-mid: bizesmtp85t1657976161tphfkrm7 Received: from localhost.localdomain ( [182.132.179.58]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 16 Jul 2022 20:55:59 +0800 (CST) X-QQ-SSF: 01000000002000E0U000B00A0000020 X-QQ-FEAT: ALw5QuVtm4UcbWgqO6hmD4//CKEl+Oe87vLHJieHnjDM9DWvrf9bZi4gwn/Q1 oqqLO9ZTlDWvnrX6wZ8S8ta5k8VuUShhsxuhQBkXc5B8LsA1UTjhc9cmEJ2Ax62bNWuSUg6 q2R5El3kqMi+2PGabw+2CcqbQSgGMCtmSc4Bzcp60u/iPEyJwV1MjAlcc4wjnQCABmfTDtW 8rtyfROnppefWktnfKdD8vHmN+g7ACd5kbW7pxi7kr13FPfAtOV4Z3P9uQ6awJZysdRXEzd /1a/2gYFe4L4Aw4RHQguiF0W/aKOJlIMWkpDAPM/lstkDGa8mc7nsy/gUuBc2F4YjoP90wf lLbxYPm2An3CQGzp/XOb2R9SxwCtjDX3V02Z7n+SlPSid9xUKGqPsySjGnH5Q== X-QQ-GoodBg: 0 From: Jason Wang To: martin.petersen@oracle.com Cc: jejb@linux.ibm.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Wang Subject: [PATCH] scsi: qlogicpti: Remove unneeded semicolon Date: Sun, 17 Jul 2022 02:38:43 +0800 Message-Id: <20220716183843.65193-1-wangborong@cdjrlc.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_03_06, RDNS_DYNAMIC,SPF_PASS,T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The semicolon after the `}' in line 1152 is unneeded. Signed-off-by: Jason Wang --- drivers/scsi/qlogicpti.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 57f2f4135a06..4f777ca9730b 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -513,7 +513,7 @@ static int qlogicpti_load_firmware(struct qlogicpti *qpti) qpti->qpti_id); err = 1; goto out; - } + } sbus_writew(SBUS_CTRL_RESET, qpti->qregs + SBUS_CTRL); sbus_writew((DMA_CTRL_CCLEAR | DMA_CTRL_CIRQ), qpti->qregs + CMD_DMA_CTRL); sbus_writew((DMA_CTRL_CCLEAR | DMA_CTRL_CIRQ), qpti->qregs + DATA_DMA_CTRL); @@ -563,7 +563,7 @@ static int qlogicpti_load_firmware(struct qlogicpti *qpti) qpti->qpti_id); err = 1; goto out; - } + } /* Load it up.. */ for (i = 0; i < risc_code_length; i++) { @@ -1135,7 +1135,7 @@ static struct scsi_cmnd *qlogicpti_intr_handler(struct qlogicpti *qpti) if (!(sbus_readw(qpti->qregs + SBUS_STAT) & SBUS_STAT_RINT)) return NULL; - + in_ptr = sbus_readw(qpti->qregs + MBOX5); sbus_writew(HCCTRL_CRIRQ, qpti->qregs + HCCTRL); if (sbus_readw(qpti->qregs + SBUS_SEMAPHORE) & SBUS_SEMAPHORE_LCK) { @@ -1149,7 +1149,7 @@ static struct scsi_cmnd *qlogicpti_intr_handler(struct qlogicpti *qpti) case COMMAND_ERROR: case COMMAND_PARAM_ERROR: break; - }; + } sbus_writew(0, qpti->qregs + SBUS_SEMAPHORE); } @@ -1363,7 +1363,7 @@ static int qpti_sbus_probe(struct platform_device *op) printk("(FCode %s)", fcode); if (of_find_property(dp, "differential", NULL) != NULL) qpti->differential = 1; - + printk("\nqlogicpti%d: [%s Wide, using %s interface]\n", qpti->qpti_id, (qpti->ultra ? "Ultra" : "Fast"), -- 2.35.1