Module Name: src
Committed By: skrll
Date: Thu Jun 30 16:49:55 UTC 2022
Modified Files:
src/sys/dev/pci: if_bge.c
Log Message:
Remove strange (duplicate) assignment.
To generate a diff of this commit:
cvs rdiff -u -r1.355 -r1.356 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.355 src/sys/dev/pci/if_bge.c:1.356
--- src/sys/dev/pci/if_bge.c:1.355 Thu Jun 30 16:36:11 2022
+++ src/sys/dev/pci/if_bge.c Thu Jun 30 16:49:55 2022
@@ -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 @@ bge_init(struct ifnet *ifp)
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 +