Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/marvell Remove an unused variable



details:   https://anonhg.NetBSD.org/src/rev/20d03c0cf77f
branches:  trunk
changeset: 326397:20d03c0cf77f
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 28 13:17:19 2014 +0000

description:
Remove an unused variable

diffstat:

 sys/arch/arm/marvell/mvsocgpp.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r e77cf5220bb9 -r 20d03c0cf77f sys/arch/arm/marvell/mvsocgpp.c
--- a/sys/arch/arm/marvell/mvsocgpp.c   Tue Jan 28 13:12:22 2014 +0000
+++ b/sys/arch/arm/marvell/mvsocgpp.c   Tue Jan 28 13:17:19 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsocgpp.c,v 1.5 2012/11/21 08:03:18 msaitoh Exp $     */
+/*     $NetBSD: mvsocgpp.c,v 1.6 2014/01/28 13:17:19 martin Exp $      */
 /*
  * Copyright (c) 2008, 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsocgpp.c,v 1.5 2012/11/21 08:03:18 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsocgpp.c,v 1.6 2014/01/28 13:17:19 martin Exp $");
 
 #include "gpio.h"
 
@@ -139,7 +139,6 @@
        uint32_t mask, dir, valin, valout, polarity, blink;
 #endif
        int i, j;
-       void *ih;
 
        dir = valin = valout = polarity = blink = 0;
 
@@ -180,7 +179,7 @@
                pic_add(gpio_pic, gpp_irqbase + i);
                aprint_normal_dev(self, "interrupts %d..%d",
                    gpp_irqbase + i, gpp_irqbase + i + 7);
-               ih = intr_establish(mva->mva_irq + j,
+               intr_establish(mva->mva_irq + j,
                    IPL_HIGH, IST_LEVEL_HIGH, pic_handle_intr, gpio_pic);
                aprint_normal(", intr %d\n", mva->mva_irq + j);
 



Home | Main Index | Thread Index | Old Index