git: d91559564dc6 - main - e1000: remove unused ifp backpointer

From: Vincenzo Maffione <vmaffione_at_FreeBSD.org>
Date: Wed, 01 Dec 2021 21:09:09 UTC
The branch main has been updated by vmaffione:

URL: https://cgit.FreeBSD.org/src/commit/?id=d91559564dc647846479824340bdf94b7cf98c05

commit d91559564dc647846479824340bdf94b7cf98c05
Author:     Vincenzo Maffione <vmaffione@FreeBSD.org>
AuthorDate: 2021-11-29 21:28:26 +0000
Commit:     Vincenzo Maffione <vmaffione@FreeBSD.org>
CommitDate: 2021-12-01 21:08:31 +0000

    e1000: remove unused ifp backpointer
    
    The ifp (struct ifnet) backpointer in the e1000 private ifnet
    data is not used anymore since the iflib transition.
    Remove it so that developers are not tempted to use it and
    get a NULL pointer dereference.
    
    Reviewed by:    markj, kbowling, erj
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D33157
---
 sys/dev/e1000/if_em.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h
index 33ba22a88552..ed5a88013f5b 100644
--- a/sys/dev/e1000/if_em.h
+++ b/sys/dev/e1000/if_em.h
@@ -439,7 +439,6 @@ struct em_rx_queue {
 
 /* Our softc structure */
 struct e1000_softc {
-	struct ifnet 		*ifp;
 	struct e1000_hw		hw;
 
 	if_softc_ctx_t		shared;