Module Name: src
Committed By: christos
Date: Mon Feb 8 16:27:51 UTC 2016
Modified Files:
src/sys/dev/pci: mpii.c
Log Message:
PR/50785: David Binderman: Remove dead code.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/mpii.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/mpii.c
diff -u src/sys/dev/pci/mpii.c:1.6 src/sys/dev/pci/mpii.c:1.7
--- src/sys/dev/pci/mpii.c:1.6 Thu Mar 12 11:33:10 2015
+++ src/sys/dev/pci/mpii.c Mon Feb 8 11:27:51 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: mpii.c,v 1.6 2015/03/12 15:33:10 christos Exp $ */
+/* $NetBSD: mpii.c,v 1.7 2016/02/08 16:27:51 christos Exp $ */
/* OpenBSD: mpii.c,v 1.51 2012/04/11 13:29:14 naddy Exp */
/*
* Copyright (c) 2010 Mike Belopuhov <[email protected]>
@@ -20,7 +20,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.6 2015/03/12 15:33:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.7 2016/02/08 16:27:51 christos Exp $");
#include "bio.h"
@@ -4901,8 +4901,6 @@ mpii_ioctl_cache(struct scsi_link *link,
vpg, pagelen) != 0) {
rv = EINVAL;
goto done;
- free(vpg, M_TEMP);
- return (EINVAL);
}
enabled = ((le16toh(vpg->volume_settings) &