Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd536e63 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: sockev: code cleanup"

parents 37c280a3 31c5d9be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)