]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/rxrpc/ar-transport.c
net: Add missing braces to multi-statement if()s
[linux-2.6-omap-h63xx.git] / net / rxrpc / ar-transport.c
index bb282a6a19f0d7e38ac75542296acbf231330e77..64069c8769a51e0ad629d377d79f847dd26a92d7 100644 (file)
@@ -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("");
 }