Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/xscale Remove unused variables



details:   https://anonhg.NetBSD.org/src/rev/2bd878cc293f
branches:  trunk
changeset: 326392:2bd878cc293f
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 28 12:22:32 2014 +0000

description:
Remove unused variables

diffstat:

 sys/arch/arm/xscale/pxa2x0_lcd.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 92cd7aaaade8 -r 2bd878cc293f sys/arch/arm/xscale/pxa2x0_lcd.c
--- a/sys/arch/arm/xscale/pxa2x0_lcd.c  Tue Jan 28 12:18:56 2014 +0000
+++ b/sys/arch/arm/xscale/pxa2x0_lcd.c  Tue Jan 28 12:22:32 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pxa2x0_lcd.c,v 1.33 2012/01/11 21:15:46 macallan Exp $ */
+/* $NetBSD: pxa2x0_lcd.c,v 1.34 2014/01/28 12:22:32 martin Exp $ */
 
 /*
  * Copyright (c) 2002  Genetec Corporation.  All rights reserved.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pxa2x0_lcd.c,v 1.33 2012/01/11 21:15:46 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pxa2x0_lcd.c,v 1.34 2014/01/28 12:22:32 martin Exp $");
 
 #include "opt_pxa2x0_lcd.h"
 
@@ -475,8 +475,6 @@
 pxa2x0_lcd_new_screen(struct pxa2x0_lcd_softc *sc, int depth,
      struct pxa2x0_lcd_screen **scrpp)
 {
-       bus_space_tag_t iot;
-       bus_space_handle_t ioh;
        bus_dma_tag_t dma_tag;
        const struct lcd_panel_geometry *geometry;
        struct pxa2x0_lcd_screen *scr = NULL;
@@ -487,8 +485,6 @@
        struct lcd_dma_descriptor *desc;
        paddr_t buf_pa, desc_pa;
 
-       iot = sc->iot;
-       ioh = sc->ioh;
        dma_tag = sc->dma_tag;
        geometry = sc->geometry;
 



Home | Main Index | Thread Index | Old Index