Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Remove strange (duplicate) assignment.



details:   https://anonhg.NetBSD.org/src/rev/9f79f4b7e826
branches:  trunk
changeset: 368233:9f79f4b7e826
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jun 30 16:49:55 2022 +0000

description:
Remove strange (duplicate) assignment.

diffstat:

 sys/dev/pci/if_bge.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 332494d9704a -r 9f79f4b7e826 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Thu Jun 30 16:36:11 2022 +0000
+++ b/sys/dev/pci/if_bge.c      Thu Jun 30 16:49:55 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.355 2022/06/30 16:36:11 skrll Exp $       */
+/*     $NetBSD: if_bge.c,v 1.356 2022/06/30 16:49:55 skrll Exp $       */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.355 2022/06/30 16:36:11 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.356 2022/06/30 16:49:55 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -5584,8 +5584,6 @@
                return error;
        }
 
-       ifp = &sc->ethercom.ec_if;
-
        /* 5718 step 25, 57XX step 54 */
        /* Specify MTU. */
        CSR_WRITE_4(sc, BGE_RX_MTU, ifp->if_mtu +



Home | Main Index | Thread Index | Old Index