All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SCSI: dtc: Fixed a brace issue on return 0
@ 2015-06-28 11:44 Rudhresh
  2015-08-25  1:54 ` Finn Thain
  0 siblings, 1 reply; 2+ messages in thread
From: Rudhresh @ 2015-06-28 11:44 UTC (permalink / raw)
  To: fthain; +Cc: linux-scsi, linux-kernel, rudhresh

From: rudhresh <rudhresh.jk@gmail.com>

Return is not a function so parenthesis is not required

Signed-off-by: Rudhresh <rudhresh.jk@gmail.com>
---
 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");
-- 
1.8.4.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-25  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-28 11:44 [PATCH] SCSI: dtc: Fixed a brace issue on return 0 Rudhresh
2015-08-25  1:54 ` Finn Thain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.