Module Name:    src
Committed By:   taca
Date:           Sat Oct 16 06:29:33 UTC 2010

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

Log Message:
Remove a variable which assigned but never used, I found while reading
if_bge.c yesterday.


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/dev/pci/if_bge.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/if_bge.c
diff -u src/sys/dev/pci/if_bge.c:1.186 src/sys/dev/pci/if_bge.c:1.187
--- src/sys/dev/pci/if_bge.c:1.186	Wed Jul 21 15:35:39 2010
+++ src/sys/dev/pci/if_bge.c	Sat Oct 16 06:29:33 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bge.c,v 1.186 2010/07/21 15:35:39 msaitoh Exp $	*/
+/*	$NetBSD: if_bge.c,v 1.187 2010/10/16 06:29:33 taca Exp $	*/
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.186 2010/07/21 15:35:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.187 2010/10/16 06:29:33 taca Exp $");
 
 #include "vlan.h"
 #include "rnd.h"
@@ -749,11 +749,8 @@
 static void
 bge_set_max_readrq(struct bge_softc *sc)
 {
-	device_t dev;
 	pcireg_t val;
 
-	dev = sc->bge_dev;
-
 	val = pci_conf_read(sc->sc_pc, sc->sc_pcitag, sc->bge_pciecap
 	    + PCI_PCIE_DCSR);
 	if ((val & PCI_PCIE_DCSR_MAX_READ_REQ) !=

Reply via email to