]> Git Repo - linux.git/blobdiff - net/unix/af_unix.c
enetc: Migrate to PHYLINK and PCS_LYNX
[linux.git] / net / unix / af_unix.c
index 181ea6fb56a617e722d9bf617c127fbc3ef73ddd..eb82bdc6cf7cd05ccb8d79a01cab1d3c01d612c9 100644 (file)
@@ -837,7 +837,7 @@ static int unix_create(struct net *net, struct socket *sock, int protocol,
                 */
        case SOCK_RAW:
                sock->type = SOCK_DGRAM;
-               /* fall through */
+               fallthrough;
        case SOCK_DGRAM:
                sock->ops = &unix_dgram_ops;
                break;
@@ -878,7 +878,6 @@ static int unix_autobind(struct socket *sock)
        if (err)
                return err;
 
-       err = 0;
        if (u->addr)
                goto out;
 
This page took 0.031189 seconds and 4 git commands to generate.