Skip to contentSkip to conversation

scsi: aic7xxx: aic79xx: Remove unnecessary parentheses

PATCH New [email protected] 1 participant 1 message Jul 20, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 scsi: aic7xxx: aic79xx: Remove unnecessary parentheses

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

---
 drivers/scsi/aic7xxx/aic7xxx_93cx6.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/scsi/aic7xxx/aic7xxx_93cx6.c +4 -4
index 11ddffbcc2f3..0d3c33322eb5 100644
@@ -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;
 	}
 }