Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/ifpga Comment an unused variable
details: https://anonhg.NetBSD.org/src/rev/fbe6e05f4fb9
branches: trunk
changeset: 794249:fbe6e05f4fb9
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 09 19:55:48 2014 +0000
description:
Comment an unused variable
diffstat:
sys/arch/evbarm/ifpga/ifpga_pci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 6276ce566ccb -r fbe6e05f4fb9 sys/arch/evbarm/ifpga/ifpga_pci.c
--- a/sys/arch/evbarm/ifpga/ifpga_pci.c Sun Mar 09 19:14:15 2014 +0000
+++ b/sys/arch/evbarm/ifpga/ifpga_pci.c Sun Mar 09 19:55:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifpga_pci.c,v 1.15 2012/09/07 04:32:03 matt Exp $ */
+/* $NetBSD: ifpga_pci.c,v 1.16 2014/03/09 19:55:48 martin Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@@ -64,7 +64,7 @@
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ifpga_pci.c,v 1.15 2012/09/07 04:32:03 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ifpga_pci.c,v 1.16 2014/03/09 19:55:48 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -352,7 +352,7 @@
int (*func) (void *), void *arg)
{
void *intr;
- int length;
+ /* int length; */
#ifdef PCI_DEBUG
printf("ifpga_pci_intr_establish(pcv=%p, ih=0x%lx, level=%d, "
@@ -360,7 +360,7 @@
#endif
/* Copy the interrupt string to a private buffer */
- length = strlen(ifpga_pci_intr_string(pcv, ih));
+ /* length = strlen(ifpga_pci_intr_string(pcv, ih)); */
intr = ifpga_intr_establish(ih, level, func, arg);
return intr;
Home |
Main Index |
Thread Index |
Old Index