Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci PR/50785: David Binderman: Remove dead code.
details: https://anonhg.NetBSD.org/src/rev/3d5f096a116b
branches: trunk
changeset: 343501:3d5f096a116b
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 08 16:27:51 2016 +0000
description:
PR/50785: David Binderman: Remove dead code.
diffstat:
sys/dev/pci/mpii.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 57b69e5c0e17 -r 3d5f096a116b sys/dev/pci/mpii.c
--- a/sys/dev/pci/mpii.c Mon Feb 08 11:59:39 2016 +0000
+++ b/sys/dev/pci/mpii.c Mon Feb 08 16:27:51 2016 +0000
@@ -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 <mkb%crypt.org.ru@localhost>
@@ -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 @@
vpg, pagelen) != 0) {
rv = EINVAL;
goto done;
- free(vpg, M_TEMP);
- return (EINVAL);
}
enabled = ((le16toh(vpg->volume_settings) &
Home |
Main Index |
Thread Index |
Old Index