git: 7d1f66652f5c - stable/12 - usb: Remove unused member in struct mos_softc

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Sat, 18 Feb 2023 06:11:51 UTC
The branch stable/12 has been updated by zlei:

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

commit 7d1f66652f5c4bb3809547a6e568b78a4354e7fe
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-02-15 05:07:19 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-02-18 06:07:48 +0000

    usb: Remove unused member in struct mos_softc
    
    Spotted by jhibbits in D37812.
    
    Reviewed by:    #network, glebius
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D38581
    
    (cherry picked from commit 3bafe73affe37de3e94d91d4c1310f1272375970)
    (cherry picked from commit 1ab8695033149213e49af0897e2e305649c52817)
---
 sys/dev/usb/net/if_mosreg.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/usb/net/if_mosreg.h b/sys/dev/usb/net/if_mosreg.h
index b8034feb8e44..993526b8d502 100644
--- a/sys/dev/usb/net/if_mosreg.h
+++ b/sys/dev/usb/net/if_mosreg.h
@@ -160,7 +160,6 @@
 
 struct mos_softc {
 	struct usb_ether sc_ue;
-	struct ifnet ifp;
 
 	struct mtx sc_mtx;
 	struct usb_xfer *sc_xfer[MOS_ENDPT_MAX];