diff options
author | David Keitel <dkeitel@codeaurora.org> | 2016-03-12 06:57:36 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:22:54 -0700 |
commit | eee3bef6a229a32f7ad57829deddc0afac8f34db (patch) | |
tree | e13d713ea7f013a16e1626a83465e2d016255e87 | |
parent | 0dc5b22545799c5c1708289b8f600418cfb12f85 (diff) |
Revert "net: unix: Fix uninitialized warnings when building for ARCH=um"
This reverts commit f8aac738feb06363f4db715754f1e91d39ace021 ("net: unix:
Fix uninitialized warnings when building for ARCH=um").
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 9da8e3c68833..e3f85bc8b135 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1041,8 +1041,6 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) umode_t mode = S_IFSOCK | (SOCK_INODE(sock)->i_mode & ~current_umask()); err = unix_mknod(dentry, &path, mode, &u_path); - path.dentry = NULL; - path.mnt = NULL; if (err) { if (err == -EEXIST) err = -EADDRINUSE; |