[PATCH] scsi: aic7xxx: aic79xx: Remove unnecessary parentheses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix "return is not a function, parentheses are not required" checkpatch
error.

Signed-off-by: Ran Sun <sunran001@xxxxxxxxxx>
---
 drivers/scsi/aic7xxx/aic7xxx_93cx6.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/aic7xxx/aic7xxx_93cx6.c b/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
index 11ddffbcc2f3..0d3c33322eb5 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_93cx6.c
@@ -236,7 +236,7 @@ ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf,
 	} else {
 		printk("ahc_write_seeprom: unsupported seeprom type %d\n",
 		       sd->sd_chip);
-		return (0);
+		return 0;
 	}

 	send_seeprom_cmd(sd, ewen);
@@ -292,7 +292,7 @@ ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf,
 	send_seeprom_cmd(sd, ewds);
 	reset_seeprom(sd);

-	return (1);
+	return 1;
 }

 int
@@ -311,8 +311,8 @@ ahc_verify_cksum(struct seeprom_config *sc)
 		checksum = checksum + scarray[i];
 	if (checksum == 0
 	 || (checksum & 0xFFFF) != sc->checksum) {
-		return (0);
+		return 0;
 	} else {
-		return(1);
+		return 1;
 	}
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux