Message ID | 9bfa0761de4afcb66fb56b46671c54be@208suo.com |
---|---|
State | New |
Headers | show |
Series | scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h | expand |
diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c b/drivers/scsi/aic7xxx/aic7770_osm.c index bdd177e3d762..cfaf3ac29d79 100644 --- a/drivers/scsi/aic7xxx/aic7770_osm.c +++ b/drivers/scsi/aic7xxx/aic7770_osm.c @@ -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; }
Fix "return is not a function, parentheses are not required" checkpatch error. Signed-off-by: Ran Sun <sunran001@208suo.com> --- drivers/scsi/aic7xxx/aic7770_osm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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