Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ews4800mips/sbd Remove unnecessary #if 1/#endif.
details: https://anonhg.NetBSD.org/src/rev/7399a0fd4bd6
branches: trunk
changeset: 326493:7399a0fd4bd6
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Jan 31 15:41:48 2014 +0000
description:
Remove unnecessary #if 1/#endif.
diffstat:
sys/arch/ews4800mips/sbd/fb_sbdio.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 73d6cfdefb55 -r 7399a0fd4bd6 sys/arch/ews4800mips/sbd/fb_sbdio.c
--- a/sys/arch/ews4800mips/sbd/fb_sbdio.c Fri Jan 31 12:40:37 2014 +0000
+++ b/sys/arch/ews4800mips/sbd/fb_sbdio.c Fri Jan 31 15:41:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fb_sbdio.c,v 1.12 2012/01/11 21:17:33 macallan Exp $ */
+/* $NetBSD: fb_sbdio.c,v 1.13 2014/01/31 15:41:48 tsutsui Exp $ */
/*-
* Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#define WIRED_FB_TLB
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.12 2012/01/11 21:17:33 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fb_sbdio.c,v 1.13 2014/01/31 15:41:48 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -294,12 +294,10 @@
fbinfo->cmsize = 256;
return 0;
-#if 1
case WSDISPLAYIO_LINEBYTES:
*(u_int *)data = ri->ri_stride;
return 0;
-#endif
case WSDISPLAYIO_GETCMAP:
if (ri->ri_flg == RI_FORCEMONO)
break;
Home |
Main Index |
Thread Index |
Old Index