Module Name: src Committed By: jdolecek Date: Wed Apr 5 20:30:55 UTC 2017
Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: rf_get_component_caches(): remove useless condition To generate a diff of this commit: cvs rdiff -u -r1.348 -r1.349 src/sys/dev/raidframe/rf_netbsdkintf.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/raidframe/rf_netbsdkintf.c diff -u src/sys/dev/raidframe/rf_netbsdkintf.c:1.348 src/sys/dev/raidframe/rf_netbsdkintf.c:1.349 --- src/sys/dev/raidframe/rf_netbsdkintf.c:1.348 Wed Apr 5 19:40:26 2017 +++ src/sys/dev/raidframe/rf_netbsdkintf.c Wed Apr 5 20:30:55 2017 @@ -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 @@ rf_get_component_caches(RF_Raid_t *raidP } } - *data = (dkwhole >= 0) ? dkwhole : 0; + *data = dkwhole; return 0; }