Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 PR 51187 David Binderman: simplify redund...
details: https://anonhg.NetBSD.org/src/rev/c942ab5c19c9
branches: trunk
changeset: 345496:c942ab5c19c9
user: dholland <dholland%NetBSD.org@localhost>
date: Mon May 30 17:45:26 2016 +0000
description:
PR 51187 David Binderman: simplify redundant conditional
diffstat:
sys/arch/i386/i386/multiboot.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ba5a417151f1 -r c942ab5c19c9 sys/arch/i386/i386/multiboot.c
--- a/sys/arch/i386/i386/multiboot.c Mon May 30 17:43:46 2016 +0000
+++ b/sys/arch/i386/i386/multiboot.c Mon May 30 17:45:26 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: multiboot.c,v 1.22 2012/12/07 04:49:08 msaitoh Exp $ */
+/* $NetBSD: multiboot.c,v 1.23 2016/05/30 17:45:26 dholland Exp $ */
/*-
* Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: multiboot.c,v 1.22 2012/12/07 04:49:08 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: multiboot.c,v 1.23 2016/05/30 17:45:26 dholland Exp $");
#include "opt_multiboot.h"
@@ -593,7 +593,7 @@
/* Skip kernel file name. */
while (*cl != '\0' && *cl != ' ')
cl++;
- while (*cl != '\0' && *cl == ' ')
+ while (*cl == ' ')
cl++;
/* Check if there are flags and set 'howto' accordingly. */
Home |
Main Index |
Thread Index |
Old Index