Module Name: src
Committed By: tsutsui
Date: Fri Jan 31 15:41:48 UTC 2014
Modified Files:
src/sys/arch/ews4800mips/sbd: fb_sbdio.c
Log Message:
Remove unnecessary #if 1/#endif.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/ews4800mips/sbd/fb_sbdio.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/ews4800mips/sbd/fb_sbdio.c
diff -u src/sys/arch/ews4800mips/sbd/fb_sbdio.c:1.12 src/sys/arch/ews4800mips/sbd/fb_sbdio.c:1.13
--- src/sys/arch/ews4800mips/sbd/fb_sbdio.c:1.12 Wed Jan 11 21:17:33 2012
+++ src/sys/arch/ews4800mips/sbd/fb_sbdio.c Fri Jan 31 15:41:48 2014
@@ -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 @@ _fb_ioctl(void *v, void *vs, u_long cmd,
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;