Module Name: src
Committed By: dholland
Date: Tue May 31 04:14:12 UTC 2016
Modified Files:
src/sys/arch/zaurus/zaurus: machdep.c
Log Message:
PR 51196 David Binderman: simplify redundant conditional.
(yet another copy)
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/zaurus/zaurus/machdep.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/arch/zaurus/zaurus/machdep.c
diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.35 src/sys/arch/zaurus/zaurus/machdep.c:1.36
--- src/sys/arch/zaurus/zaurus/machdep.c:1.35 Sun Aug 18 21:42:16 2013
+++ src/sys/arch/zaurus/zaurus/machdep.c Tue May 31 04:14:12 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.35 2013/08/18 21:42:16 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.36 2016/05/31 04:14:12 dholland Exp $ */
/* $OpenBSD: zaurus_machdep.c,v 1.25 2006/06/20 18:24:04 todd Exp $ */
/*
@@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.35 2013/08/18 21:42:16 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.36 2016/05/31 04:14:12 dholland Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -1205,7 +1205,7 @@ gettrailer(char *arg)
*options++ = '\0';
/* trim leading blanks */
- while (*options && *options == ' ')
+ while (*options == ' ')
options++;
return options;