Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/zaurus/zaurus PR 51196 David Binderman: simplify re...



details:   https://anonhg.NetBSD.org/src/rev/583b74ff0081
branches:  trunk
changeset: 345524:583b74ff0081
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue May 31 04:14:12 2016 +0000

description:
PR 51196 David Binderman: simplify redundant conditional.
(yet another copy)

diffstat:

 sys/arch/zaurus/zaurus/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 05eb621a6dbb -r 583b74ff0081 sys/arch/zaurus/zaurus/machdep.c
--- a/sys/arch/zaurus/zaurus/machdep.c  Tue May 31 04:13:26 2016 +0000
+++ b/sys/arch/zaurus/zaurus/machdep.c  Tue May 31 04:14:12 2016 +0000
@@ -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 @@
                *options++ = '\0';
 
        /* trim leading blanks */
-       while (*options && *options == ' ')
+       while (*options == ' ')
                options++;
 
        return options;



Home | Main Index | Thread Index | Old Index