diff options
author | 2010-09-07 17:14:06 +0000 | |
---|---|---|
committer | 2010-09-07 17:14:06 +0000 | |
commit | ad6ca4f7a6cc3f81bb16b2362f8b7ff0839b639f (patch) | |
tree | 00165be86d6a63f6d43582a9d5a57ff59f6637d8 /sys/dev/softraid.c | |
parent | rename function parameter to be more like all the others in the tree (diff) | |
download | wireguard-openbsd-ad6ca4f7a6cc3f81bb16b2362f8b7ff0839b639f.tar.xz wireguard-openbsd-ad6ca4f7a6cc3f81bb16b2362f8b7ff0839b639f.zip |
having a ca_activate function which just returns 1 is wrong on about 8 different levels; ok oga kettenis
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 2b0e275035c..f86d0fcc94b 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.212 2010/08/30 19:05:08 deraadt Exp $ */ +/* $OpenBSD: softraid.c,v 1.213 2010/09/07 17:14:06 deraadt Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -76,11 +76,9 @@ uint32_t sr_debug = 0 int sr_match(struct device *, void *, void *); void sr_attach(struct device *, struct device *, void *); int sr_detach(struct device *, int); -int sr_activate(struct device *, int); struct cfattach softraid_ca = { sizeof(struct sr_softc), sr_match, sr_attach, sr_detach, - sr_activate }; struct cfdriver softraid_cd = { @@ -1616,12 +1614,6 @@ sr_detach(struct device *self, int flags) return (0); } -int -sr_activate(struct device *self, int act) -{ - return (1); -} - void sr_minphys(struct buf *bp, struct scsi_link *sl) { |