Message ID | 167112120461.152641.4382655800014753084.stgit@warthog.procyon.org.uk (mailing list archive) |
---|---|
State | Accepted |
Commit | eaa02390adb03b82f04babebf0cdd233793aecf5 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | rxrpc: Fixes for I/O thread conversion/SACK table expansion | expand |
diff --git a/net/rxrpc/local_object.c b/net/rxrpc/local_object.c index 44222923c0d1..24ee585d9aaf 100644 --- a/net/rxrpc/local_object.c +++ b/net/rxrpc/local_object.c @@ -357,10 +357,11 @@ struct rxrpc_local *rxrpc_use_local(struct rxrpc_local *local, */ void rxrpc_unuse_local(struct rxrpc_local *local, enum rxrpc_local_trace why) { - unsigned int debug_id = local->debug_id; + unsigned int debug_id; int r, u; if (local) { + debug_id = local->debug_id; r = refcount_read(&local->ref); u = atomic_dec_return(&local->active_users); trace_rxrpc_local(debug_id, why, r, u);