Skip to content
Snippets Groups Projects
Commit 7180a031 authored by Alban Crequy's avatar Alban Crequy Committed by David S. Miller
Browse files

af_unix: coding style: remove one level of indentation in unix_shutdown()

parent b8970f0b
No related branches found
No related tags found
No related merge requests found
......@@ -1984,7 +1984,9 @@ static int unix_shutdown(struct socket *sock, int mode)
mode = (mode+1)&(RCV_SHUTDOWN|SEND_SHUTDOWN);
if (mode) {
if (!mode)
return 0;
unix_state_lock(sk);
sk->sk_shutdown |= mode;
other = unix_peer(sk);
......@@ -2013,7 +2015,7 @@ static int unix_shutdown(struct socket *sock, int mode)
}
if (other)
sock_put(other);
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment