diff options
author | 2014-01-23 00:32:57 +0000 | |
---|---|---|
committer | 2014-01-23 00:32:57 +0000 | |
commit | e9556d70f4757b9a8a74885ad3bb7abf832a608b (patch) | |
tree | 5b35abe96c9223b1a95ae568fa2f7ffb1b7a2763 /sys/kern/subr_disk.c | |
parent | Remove LD_NORANDOM feature. It serves no usable purpose. Determinism (diff) | |
download | wireguard-openbsd-e9556d70f4757b9a8a74885ad3bb7abf832a608b.tar.xz wireguard-openbsd-e9556d70f4757b9a8a74885ad3bb7abf832a608b.zip |
Delete spurious if statement.
ok phessler@ deraadt@ jsing@ guenther@
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 5 |
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); |