]> Git Repo - linux.git/blobdiff - net/unix/af_unix.c
net: dsa: sja1105: Implement state machine for TAS with PTP clock source
[linux.git] / net / unix / af_unix.c
index 0d8da809bea2e6053c6bd5687ae19ab3f3ca617a..193cba2d777b26b2f102227b9bd7b7c2580bf156 100644 (file)
@@ -284,11 +284,9 @@ static struct sock *__unix_find_socket_byname(struct net *net,
 
                if (u->addr->len == len &&
                    !memcmp(u->addr->name, sunname, len))
-                       goto found;
+                       return s;
        }
-       s = NULL;
-found:
-       return s;
+       return NULL;
 }
 
 static inline struct sock *unix_find_socket_byname(struct net *net,
This page took 0.033775 seconds and 4 git commands to generate.