summaryrefslogtreecommitdiff
path: root/sys/dev/pci/mpii.c
diff options
context:
space:
mode:
authorGerhard Roth <gerhard@cvs.openbsd.org>2014-03-06 14:08:07 +0000
committerGerhard Roth <gerhard@cvs.openbsd.org>2014-03-06 14:08:07 +0000
commit6bb695f82fd9ff5f2dce56436fe073cce5ec1e60 (patch)
tree0ea5632bdf151044d2109004822c0cb7fdea435f /sys/dev/pci/mpii.c
parent2d830b294c2eaa3ca68d57899211247e0ba9b9df (diff)
Cleanup dead code.
ok mikeb@
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 67a91874b34..17555b13b1f 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.74 2014/01/22 03:02:58 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.75 2014/03/06 14:08:06 gerhard Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -2994,8 +2994,6 @@ mpii_ioctl_cache(struct scsi_link *link, u_long cmd, struct dk_cache *dc)
vpg, pagelen) != 0) {
rv = EINVAL;
goto done;
- free(vpg, M_TEMP);
- return (EINVAL);
}
enabled = ((letoh16(vpg->volume_settings) &