summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath_rdac.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-08-17 15:31:42 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-08-17 15:31:42 +0000
commitd0b1432d060658640533323842e5f657d9030510 (patch)
tree3b6ba2a7a8196c5dc318d53ca0813a2d3d2dfc1f /sys/scsi/mpath_rdac.c
parent990f954b99a885ea2cb2d7727da4084c89fd224d (diff)
Nuke some unused variables, tweak some declarations and
variable names into a consistant idiom.
Diffstat (limited to 'sys/scsi/mpath_rdac.c')
-rw-r--r--sys/scsi/mpath_rdac.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/scsi/mpath_rdac.c b/sys/scsi/mpath_rdac.c
index bcae6e489d1..7946ddf51d3 100644
--- a/sys/scsi/mpath_rdac.c
+++ b/sys/scsi/mpath_rdac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_rdac.c,v 1.23 2015/03/14 03:38:52 jsg Exp $ */
+/* $OpenBSD: mpath_rdac.c,v 1.24 2019/08/17 15:31:41 krw Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -245,7 +245,6 @@ int
rdac_activate(struct device *self, int act)
{
struct rdac_softc *sc = (struct rdac_softc *)self;
- int rv = 0;
switch (act) {
case DVACT_DEACTIVATE:
@@ -255,7 +254,7 @@ rdac_activate(struct device *self, int act)
mpath_path_detach(&sc->sc_path);
break;
}
- return (rv);
+ return (0);
}
void