Module Name:    src
Committed By:   skrll
Date:           Tue Aug 25 13:42:09 UTC 2020

Modified Files:
        src/sys/dev/ata: ata_raid.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ata/ata_raid.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ata/ata_raid.c
diff -u src/sys/dev/ata/ata_raid.c:1.42 src/sys/dev/ata/ata_raid.c:1.43
--- src/sys/dev/ata/ata_raid.c:1.42	Fri Apr 26 11:51:56 2019
+++ src/sys/dev/ata/ata_raid.c	Tue Aug 25 13:42:09 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: ata_raid.c,v 1.42 2019/04/26 11:51:56 pgoyette Exp $	*/
+/*	$NetBSD: ata_raid.c,v 1.43 2020/08/25 13:42:09 skrll Exp $	*/
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.42 2019/04/26 11:51:56 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.43 2020/08/25 13:42:09 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -141,9 +141,9 @@ ata_raid_type_name(u_int type)
 	};
 
 	if (type < __arraycount(ata_raid_type_names))
-		return (ata_raid_type_names[type]);
+		return ata_raid_type_names[type];
 
-	return (NULL);
+	return NULL;
 }
 
 /*
@@ -176,7 +176,7 @@ ata_raid_finalize(device_t self)
 		    ataraid_cd.cd_name);
 
  out:
-	return (1);
+	return 1;
 }
 
 /*
@@ -189,7 +189,7 @@ ataraid_match(device_t parent, cfdata_t 
 {
 
 	/* pseudo-device; always present */
-	return (1);
+	return 1;
 }
 
 /*
@@ -233,7 +233,7 @@ ataraid_print(void *aux, const char *pnp
 	if (pnp != NULL)
 		aprint_normal("block device at %s", pnp);
 	aprint_normal(" vendtype %d unit %d", aai->aai_type, aai->aai_arrayno);
-	return (UNCONF);
+	return UNCONF;
 }
 
 /*
@@ -295,7 +295,7 @@ ata_raid_get_array_info(u_int type, u_in
 	TAILQ_INSERT_TAIL(&ataraid_array_info_list, aai, aai_list);
 
  out:
-	return (aai);
+	return aai;
 }
 
 int
@@ -317,7 +317,7 @@ ata_raid_config_block_rw(struct vnode *v
 	error = biowait(bp);
 
 	putiobuf(bp);
-	return (error);
+	return error;
 }
 
 MODULE(MODULE_CLASS_DRIVER, ataraid, NULL);

Reply via email to