Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3709195pxt; Tue, 10 Aug 2021 09:32:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyL6Gn7d5/h86LJNaoFg1D9KdOBUGfMXk7G3Ar817Mdgw18K7QY3Y2JA04fQ7hQW7veHZsv X-Received: by 2002:a05:6402:4412:: with SMTP id y18mr5884286eda.1.1628613123830; Tue, 10 Aug 2021 09:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628613123; cv=none; d=google.com; s=arc-20160816; b=Q9c/W+1Qmhx9yLM/lauWDVIWgjq2ypxWUaZGUl1dbUc5cIcJbUBoYlQ4QCLm4HG6wR TDsdvIrefzLGkViZqpXvzBCzkXxSLnk5g8Y/2whwq584nqiE7QFLKm0dk/ijDJ6tuO7E wGHHi/3um0tA3ySd4fKO1g7xcuGjOX68lRzgoLiVjuxVrWnGbFVUrCWEH4k56VT07ehE s2lEwDYllaFkjCDgLs6GyocVV73flSAjKM2VqgxGkRc9LF+4XI4sfoH9HeOxZvcjJZlv E/ItnFj+TXOwT8szZfjbPJZ3DzijSQ3S+lU2uVFZEmGl4m7SfUphCqwn+4fLsDFFSEzV i+0Q== 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=pb0iQ1ooshoNx2s1Y0e87mkiukaD/gojg8WzGjTbCr8=; b=SKXIHzMQ3NIubsp2AtJ3OqXZ3Jf7K8am0VblbgPQz7a6kq1shLUIYKPhzhQnhdX/p1 sj+Ahm0V+vHT4px72a3mws0hjInHaq8a5aEnonvydqTqNu0vRfbwo44fYpmtkPp6vSLo n+p59G6K8uFqJ2WHN5Dt4N9QzhkLephCp5f9zfdbwgsKThoSUuw99l/jnuiqn/CB0gLZ 7rOB2aKNcsf5BnCNZYuIG3DGkDmyzLIpT1YamJslxO3wOTj8C7V+KCRNlmMNhyTiHV10 UhFJVFiyaxb8fKbeGj0fIiNJZZfNiKLdYRdtmlHDjMV+J7S0guergNrAeACHR8H+/VDl Byaw== 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 f19si3251184ejz.64.2021.08.10.09.31.38; Tue, 10 Aug 2021 09:32:03 -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 S240700AbhHJMm4 (ORCPT + 99 others); Tue, 10 Aug 2021 08:42:56 -0400 Received: from smtpbg587.qq.com ([113.96.223.105]:44878 "EHLO smtpbg587.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbhHJMmz (ORCPT ); Tue, 10 Aug 2021 08:42:55 -0400 X-QQ-mid: bizesmtp47t1628599343tiwn62hb Received: from localhost.localdomain (unknown [171.223.97.227]) by esmtp6.qq.com (ESMTP) with id ; Tue, 10 Aug 2021 20:42:22 +0800 (CST) X-QQ-SSF: 01000000004000B0C000B00A0000000 X-QQ-FEAT: KdN0SWBFoH4QKx12XdY3uwO5ZKjKHJON5Mx/VawX7qFgnRJk+R+e+AudoLIER /QdHTr30DCa5+0UVTEAb8tmCLV5h3d9M7b6YW2L2b78r7pBJmrRJ/Me0GErjnbvTxtS/m9h v+pKo4df0nJMbyj7g6pP4l4bqFs4yuphJ5rntsZuarRkgC8A9zxjTSGEF3iLfU9Na8Ua+ra GBPzqz0HHKhvL2q8cwPylc0gYUSc0XV+JXInFJXP9o9PTmSVKnDKzdfydvLbXEIuZW7T9Or YQHkzYsBwH77OEe++I6VNyIPftMBz1mqMQvXyxNS54Td4cAiThWU2h6VdXbxBGiTg6nHYzi apRQrk2PRQ5IY/A8sqCrxkSSMynRg== 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: Tue, 10 Aug 2021 20:42:16 +0800 Message-Id: <20210810124216.77866-1-wangborong@cdjrlc.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybgspam:qybgspam3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The semicolon after a code block bracket is unneeded in C. Thus, we can remove the redundant semicolon from the code safely. 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 d84e218d32cb..d1d5ede38500 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++) { @@ -1136,7 +1136,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) { @@ -1150,7 +1150,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); } @@ -1364,7 +1364,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.32.0