mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
net: Add missing braces to multi-statement if()s
One finds all kinds of crazy things with some shell pipelining. Signed-off-by: Ilpo Järvinen <[email protected]> Acked-by: David Howells <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
78e92b99ec
commit
50aab54f30
2 changed files with 4 additions and 2 deletions
|
|
@ -184,12 +184,13 @@ void rxrpc_put_transport(struct rxrpc_transport *trans)
|
|||
ASSERTCMP(atomic_read(&trans->usage), >, 0);
|
||||
|
||||
trans->put_time = get_seconds();
|
||||
if (unlikely(atomic_dec_and_test(&trans->usage)))
|
||||
if (unlikely(atomic_dec_and_test(&trans->usage))) {
|
||||
_debug("zombie");
|
||||
/* let the reaper determine the timeout to avoid a race with
|
||||
* overextending the timeout if the reaper is running at the
|
||||
* same time */
|
||||
rxrpc_queue_delayed_work(&rxrpc_transport_reap, 0);
|
||||
}
|
||||
_leave("");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue