From c7100f5427c83eff7e8fb092a56cc25524f1454a Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Sun, 5 Jun 2011 18:40:34 +0000 Subject: Drop kernel support for the useless DIOCWLABEL ioctl and prune a lot of silly flag twiddling code in various disk drivers. ok deraadt@, miod@ N.B., users will need a -current disklabel(8) to be able to write new disklabels to disk now. --- sys/arch/vax/vsa/hdc9224.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/arch/vax/vsa') diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c index c73b2db7cd8..bf95d76b523 100644 --- a/sys/arch/vax/vsa/hdc9224.c +++ b/sys/arch/vax/vsa/hdc9224.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hdc9224.c,v 1.35 2011/06/03 21:14:11 matthew Exp $ */ +/* $OpenBSD: hdc9224.c,v 1.36 2011/06/05 18:40:33 matthew Exp $ */ /* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -734,11 +734,6 @@ hdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) } break; - case DIOCWLABEL: - if ((flag & FWRITE) == 0) - error = EBADF; - break; - default: error = ENOTTY; break; -- cgit v1.2.3