Commit d9155956 authored by Vincenzo Maffione's avatar Vincenzo Maffione
Browse files

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
parent 83a103ec
...@@ -439,7 +439,6 @@ struct em_rx_queue { ...@@ -439,7 +439,6 @@ struct em_rx_queue {
/* Our softc structure */ /* Our softc structure */
struct e1000_softc { struct e1000_softc {
struct ifnet *ifp;
struct e1000_hw hw; struct e1000_hw hw;
if_softc_ctx_t shared; if_softc_ctx_t shared;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment