Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe rf_get_component_caches(): remove useless ...
details: https://anonhg.NetBSD.org/src/rev/79b89582b86e
branches: trunk
changeset: 352504:79b89582b86e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Apr 05 20:30:55 2017 +0000
description:
rf_get_component_caches(): remove useless condition
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 34b78cd5eca7 -r 79b89582b86e sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Wed Apr 05 20:27:09 2017 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Wed Apr 05 20:30:55 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.348 2017/04/05 19:40:26 jdolecek Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.349 2017/04/05 20:30:55 jdolecek Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.348 2017/04/05 19:40:26 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.349 2017/04/05 20:30:55 jdolecek Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -3723,7 +3723,7 @@
}
}
- *data = (dkwhole >= 0) ? dkwhole : 0;
+ *data = dkwhole;
return 0;
}
Home |
Main Index |
Thread Index |
Old Index