Module Name:    src
Committed By:   christos
Date:           Mon Nov  4 16:54:12 UTC 2013

Modified Files:
        src/sys/dev/pci: tga.c

Log Message:
remove unused code


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/pci/tga.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/tga.c
diff -u src/sys/dev/pci/tga.c:1.83 src/sys/dev/pci/tga.c:1.84
--- src/sys/dev/pci/tga.c:1.83	Wed Jan 11 15:50:00 2012
+++ src/sys/dev/pci/tga.c	Mon Nov  4 11:54:12 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: tga.c,v 1.83 2012/01/11 20:50:00 macallan Exp $ */
+/* $NetBSD: tga.c,v 1.84 2013/11/04 16:54:12 christos Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tga.c,v 1.83 2012/01/11 20:50:00 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tga.c,v 1.84 2013/11/04 16:54:12 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1025,7 +1025,7 @@ tga_rop_vtov(struct rasops_info *dst, in
 	struct tga_devconfig *dc = dst->ri_hw;
 	int srcb, dstb, tga_srcb, tga_dstb;
 	int x, y, wb;
-	int xstart, xend, xdir;
+	int xstart, xdir;
 	int ystart, yend, ydir, yinc;
 	int xleft, lastx, lastleft;
 	int offset = 1 * dc->dc_tgaconf->tgac_vvbr_units;
@@ -1063,11 +1063,9 @@ tga_rop_vtov(struct rasops_info *dst, in
         wb = w * (dst->ri_depth / 8);
 	if (sx >= dx || (sx + w) <= dx) {	/* copy forwards */
 		xstart = 0;
-		xend = wb;
 		xdir = 1;
 	} else {				/* copy backwards */
 		xstart = wb;
-		xend = 0;
 		xdir = -1;
 	}
 

Reply via email to