Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102785265
D39356.id120102.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
375 B
Referenced Files
None
Subscribers
None
D39356.id120102.diff
View Options
diff --git a/sys/dev/usb/net/if_mos.c b/sys/dev/usb/net/if_mos.c
--- a/sys/dev/usb/net/if_mos.c
+++ b/sys/dev/usb/net/if_mos.c
@@ -424,11 +424,8 @@
mos_miibus_readreg(device_t dev, int phy, int reg)
{
struct mos_softc *sc = device_get_softc(dev);
- uWord val;
int i, res, locked;
- USETW(val, 0);
-
locked = mtx_owned(&sc->sc_mtx);
if (!locked)
MOS_LOCK(sc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 4:08 AM (19 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14689635
Default Alt Text
D39356.id120102.diff (375 B)
Attached To
Mode
D39356: if_mos: Remove set but unused variable.
Attached
Detach File
Event Timeline
Log In to Comment