Commit bc3370fc authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

net: sockets -- Dont use multiline for() without braces

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 269fb0b7
......@@ -59,9 +59,10 @@ static struct socket_desc *lookup_socket(int ino)
{
struct socket_desc *d;
for (d = sockets[ino % SK_HASH_SIZE]; d != NULL; d = d->next)
for (d = sockets[ino % SK_HASH_SIZE]; d; d = d->next) {
if (d->ino == ino)
break;
}
return d;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment