Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143914196
D45133.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
584 B
Referenced Files
None
Subscribers
None
D45133.diff
View Options
diff --git a/sys/dev/etherswitch/ip17x/ip17x.c b/sys/dev/etherswitch/ip17x/ip17x.c
--- a/sys/dev/etherswitch/ip17x/ip17x.c
+++ b/sys/dev/etherswitch/ip17x/ip17x.c
@@ -556,7 +556,7 @@
static int
ip17x_readreg(device_t dev, int addr)
{
- struct ip17x_softc *sc;
+ struct ip17x_softc *sc __diagused;
sc = device_get_softc(dev);
IP17X_LOCK_ASSERT(sc, MA_OWNED);
@@ -568,7 +568,7 @@
static int
ip17x_writereg(device_t dev, int addr, int value)
{
- struct ip17x_softc *sc;
+ struct ip17x_softc *sc __diagused;
sc = device_get_softc(dev);
IP17X_LOCK_ASSERT(sc, MA_OWNED);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 2, 10:04 PM (19 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28418058
Default Alt Text
D45133.diff (584 B)
Attached To
Mode
D45133: ip17x: fix non-debug build
Attached
Detach File
Event Timeline
Log In to Comment