Skip to contentSkip to conversation

scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h

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: Remove unnecessary parentheses in hyperv.h

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

---
 drivers/scsi/aic7xxx/aic7770_osm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/scsi/aic7xxx/aic7770_osm.c +3 -3
index bdd177e3d762..cfaf3ac29d79 100644
@@ -54,7 +54,7 @@ aic7770_map_registers(struct ahc_softc *ahc, u_int port)
 		return (ENOMEM);
 	ahc->tag = BUS_SPACE_PIO;
 	ahc->bsh.ioport = port;
-	return (0);
+	return 0;
 }
 
 int
@@ -97,13 +97,13 @@ aic7770_probe(struct device *dev)
 	if (error != 0) {
 		ahc->bsh.ioport = 0;
 		ahc_free(ahc);
-		return (error);
+		return error;
 	}
 
  	dev_set_drvdata(dev, ahc);
 
 	error = ahc_linux_register_host(ahc, &aic7xxx_driver_template);
-	return (error);
+	return error;
 }
 
 static int