Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/pci remove unused
details: https://anonhg.NetBSD.org/src/rev/bf1c5a677c6e
branches: trunk
changeset: 326331:bf1c5a677c6e
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 25 21:11:03 2014 +0000
description:
remove unused
diffstat:
sys/arch/i386/pci/via8231.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 16e7554f45ab -r bf1c5a677c6e sys/arch/i386/pci/via8231.c
--- a/sys/arch/i386/pci/via8231.c Sat Jan 25 21:10:41 2014 +0000
+++ b/sys/arch/i386/pci/via8231.c Sat Jan 25 21:11:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: via8231.c,v 1.4 2011/07/01 17:37:27 dyoung Exp $ */
+/* $NetBSD: via8231.c,v 1.5 2014/01/25 21:11:03 christos Exp $ */
/* OpenBSD: via8231.c,v 1.6 2005/10/27 16:41:06 mickey Exp */
/*-
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: via8231.c,v 1.4 2011/07/01 17:37:27 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: via8231.c,v 1.5 2014/01/25 21:11:03 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -258,7 +258,7 @@
via8231_set_trigger(pciintr_icu_handle_t v, int irq, int trigger)
{
struct via8231_handle *ph = v;
- int reg, clink, m, pciirq;
+ int reg, clink, pciirq;
if (VIA8231_PIRQ_LEGAL(irq) == 0 || VIA8231_TRIG_LEGAL(trigger) == 0)
return (1);
@@ -268,7 +268,6 @@
via8231_pir_dump("via8231_set_trig: ", ph);
#endif
- m = ph->flags & VT8237? VIA8237_LINK_MAX : VIA8231_LINK_MAX;
for (clink = 0; clink <= VIA8231_LINK_MAX; clink++) {
via8231_get_intr(v, clink, &pciirq);
if (pciirq == irq) {
Home |
Main Index |
Thread Index |
Old Index