Commit 6118e35a7126c1062b1a0f6737b84b4fe4d5c8d4
Committed by
David S. Miller
1 parent
efea2c6b2e
Exists in
master
and in
39 other branches
af_unix: remove unused struct sockaddr_un cruft
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
net/unix/af_unix.c
... | ... | @@ -1567,7 +1567,6 @@ |
1567 | 1567 | struct sock_iocb *siocb = kiocb_to_siocb(kiocb); |
1568 | 1568 | struct sock *sk = sock->sk; |
1569 | 1569 | struct sock *other = NULL; |
1570 | - struct sockaddr_un *sunaddr = msg->msg_name; | |
1571 | 1570 | int err, size; |
1572 | 1571 | struct sk_buff *skb; |
1573 | 1572 | int sent = 0; |
... | ... | @@ -1590,7 +1589,6 @@ |
1590 | 1589 | err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; |
1591 | 1590 | goto out_err; |
1592 | 1591 | } else { |
1593 | - sunaddr = NULL; | |
1594 | 1592 | err = -ENOTCONN; |
1595 | 1593 | other = unix_peer(sk); |
1596 | 1594 | if (!other) |