From patchwork Sun Jun 28 11:44:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudhresh X-Patchwork-Id: 6686021 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 78FF89F39B for ; Sun, 28 Jun 2015 11:45:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ECD3020534 for ; Sun, 28 Jun 2015 11:45:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EDC412041A for ; Sun, 28 Jun 2015 11:45:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752211AbbF1LpL (ORCPT ); Sun, 28 Jun 2015 07:45:11 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:33584 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752310AbbF1LpJ (ORCPT ); Sun, 28 Jun 2015 07:45:09 -0400 Received: by pdjn11 with SMTP id n11so100559460pdj.0; Sun, 28 Jun 2015 04:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=nSGbuF4/zuEJEBrQVa9X8oqW1DceiYMxg+l3blcwbGU=; b=bnhANjh+ye+8SN6W9bX38j8vj7BPNMN2tsMVF9jPJ+cyAi+nTU0i5AuBtkafqeZRpH NgbqRBzm4YOmA3n+qIhTi/xv43IeaUoilfnY9rYK21PcKPqSyAwpaIh1L0dvIaN3PCTG FiMV6LX/fntlHjBVYLEbtHJxepSPHp4mZneC1g5DbtrfCVD+KhY2nQ9ZivU8gy0IayfB amh7AeAvihn9mqV85QGhapzGoqR1fLcWrnwAcwBPY7IqgVsWbEGB+tWBo0MQBZazFhqo lCgZP6xI1UBfol/GtbBXc6381tmlPbaZ4ThL8q00sSG1HV+A3auI5uvSMsvlnzohv67h cltg== X-Received: by 10.70.37.144 with SMTP id y16mr21411428pdj.86.1435491908353; Sun, 28 Jun 2015 04:45:08 -0700 (PDT) Received: from linux-9mst.site.mshome.net ([117.254.7.31]) by mx.google.com with ESMTPSA id md8sm38945045pdb.35.2015.06.28.04.45.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 04:45:06 -0700 (PDT) From: Rudhresh To: fthain@telegraphics.com.au Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, rudhresh Subject: [PATCH] SCSI: dtc: Fixed a brace issue on return 0 Date: Sun, 28 Jun 2015 17:14:56 +0530 Message-Id: <1435491896-9755-1-git-send-email-rudhresh.jk@gmail.com> X-Mailer: git-send-email 1.8.4.5 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: rudhresh Return is not a function so parenthesis is not required Signed-off-by: Rudhresh --- drivers/scsi/dtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index 4c74c7b..c793ecf 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c @@ -363,7 +363,7 @@ static inline int NCR5380_pread(struct Scsi_Host *instance, unsigned char *dst, NCR5380_read(RESET_PARITY_INTERRUPT_REG); if (i > hostdata->spin_max_r) hostdata->spin_max_r = i; - return (0); + return 0; } /**************************************************************** @@ -417,7 +417,7 @@ static inline int NCR5380_pwrite(struct Scsi_Host *instance, unsigned char *src, rtrc(0); if (i > hostdata->spin_max_w) hostdata->spin_max_w = i; - return (0); + return 0; } MODULE_LICENSE("GPL");