Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2023 06:09:54 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1ab869503314 - stable/13 - usb: Remove unused member in struct mos_softc
Message-ID:  <202302180609.31I69sCi067810@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by zlei:

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

commit 1ab8695033149213e49af0897e2e305649c52817
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:05:52 +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)
---
 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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302180609.31I69sCi067810>