summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-01-23 00:32:58 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-01-23 00:32:58 +0000
commit74c10b6e84a0aeb023610068b5a490e4c4fb830f (patch)
treea0926b556984b658621f97441e9ca58d03ec1223
parent5770c018387ac19e9877a3682f86f7eefe9ee4b1 (diff)
Delete spurious if statement.
ok phessler@ deraadt@ jsing@ guenther@
-rw-r--r--sys/kern/subr_disk.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index c8d2ec610fd..b4c5cb860b1 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.161 2014/01/22 03:46:48 krw Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.162 2014/01/23 00:32:57 krw Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -236,9 +236,6 @@ checkdisklabel(void *rlp, struct disklabel *lp, u_int64_t boundstart,
/* XXX should verify lots of other fields and whine a lot */
- if (error)
- return (error);
-
/* Initial passed in lp contains the real disk size. */
disksize = DL_GETDSIZE(lp);