mirror of https://gitee.com/openkylin/linux.git
net: unix: remove redundant assignment to variable 'err'
After commit 37ab4fa784
("net: unix: allow bind to fail on mutex lock"),
the assignment to err is redundant. So remove it.
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
66e22932eb
commit
c8c33b80f4
|
@ -878,7 +878,6 @@ static int unix_autobind(struct socket *sock)
|
|||
if (err)
|
||||
return err;
|
||||
|
||||
err = 0;
|
||||
if (u->addr)
|
||||
goto out;
|
||||
|
||||
|
|
Loading…
Reference in New Issue