Module Name: src
Committed By: martin
Date: Sun Sep 15 09:36:02 UTC 2013
Modified Files:
src/sys/dev/pci: radeonfb.c
Log Message:
Comment out (but leave for documentation purposes) a variable.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/pci/radeonfb.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/dev/pci/radeonfb.c
diff -u src/sys/dev/pci/radeonfb.c:1.76 src/sys/dev/pci/radeonfb.c:1.77
--- src/sys/dev/pci/radeonfb.c:1.76 Thu Mar 28 17:25:10 2013
+++ src/sys/dev/pci/radeonfb.c Sun Sep 15 09:36:02 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: radeonfb.c,v 1.76 2013/03/28 17:25:10 macallan Exp $ */
+/* $NetBSD: radeonfb.c,v 1.77 2013/09/15 09:36:02 martin Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.76 2013/03/28 17:25:10 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.77 2013/09/15 09:36:02 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -3494,7 +3494,7 @@ static void
radeonfb_cursor_shape(struct radeonfb_display *dp)
{
uint8_t and[512], xor[512];
- int i, j, src, dst, pitch;
+ int i, j, src, dst /* , pitch */;
const uint8_t *msk = dp->rd_cursor.rc_mask;
const uint8_t *img = dp->rd_cursor.rc_image;
@@ -3529,7 +3529,7 @@ radeonfb_cursor_shape(struct radeonfb_di
* hence: AND = ~(mask); XOR = color & ~(mask);
*/
- pitch = ((dp->rd_cursor.rc_size.x + 7) / 8);
+ /* pitch = ((dp->rd_cursor.rc_size.x + 7) / 8); */
/* start by assuming all bits are transparent */
memset(and, 0xff, 512);