summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-05-11 20:31:54 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-05-11 20:31:54 +0000
commitffa345eceffcac3f21dc8348404c7b5623be46df (patch)
treec5a79b86c013a10fa4603de8aef32caac9862139
parentee4e70d28c796c0c265853eedccf6245d7e848b5 (diff)
Kill an unused done: label and the associated superfluous "return;"
statement at the end of a void function. All inside #if 0, so no effect on generated code.
-rw-r--r--sys/dev/softraid_raid5.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/softraid_raid5.c b/sys/dev/softraid_raid5.c
index a3425842808..d2aecc5f7da 100644
--- a/sys/dev/softraid_raid5.c
+++ b/sys/dev/softraid_raid5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid5.c,v 1.27 2016/10/07 19:17:50 krw Exp $ */
+/* $OpenBSD: softraid_raid5.c,v 1.28 2019/05/11 20:31:53 krw Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
@@ -951,7 +951,5 @@ sr_raid5_scrub(struct sr_discipline *sd)
if (!slept)
tsleep(sd->sd_sc, PWAIT, "sr_yield", 1);
}
-done:
- return;
}
#endif