2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-03 07:45:17 +00:00

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

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Cyrill Gorcunov
2011-12-28 00:40:19 +04:00
parent 269fb0b777
commit bc3370fc47

View File

@@ -59,9 +59,10 @@ static struct socket_desc *lookup_socket(int ino)
{ {
struct socket_desc *d; 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) if (d->ino == ino)
break; break;
}
return d; return d;
} }