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
This commit is contained in:
Vincenzo Maffione 2021-11-29 21:28:26 +00:00
parent 83a103ec42
commit d91559564d

View File

@ -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;