Merge "net: sockev: code cleanup"
This commit is contained in:
commit
cd536e63e3
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ static int sockev_client_cb(struct notifier_block *nb,
|
|||
sock = (struct socket *)data;
|
||||
if (socknlmsgsk == 0)
|
||||
goto done;
|
||||
if ((socknlmsgsk == NULL) || (sock == NULL) || (sock->sk == NULL))
|
||||
if ((!socknlmsgsk) || (!sock) || (!sock->sk))
|
||||
goto done;
|
||||
|
||||
if (sock->sk->sk_family != AF_INET && sock->sk->sk_family != AF_INET6)
|
||||
|
|
Loading…
Add table
Reference in a new issue