提交 c8c33b80 编写于 作者: J Jing Xiangfeng 提交者: David S. Miller

net: unix: remove redundant assignment to variable 'err'

After commit 37ab4fa7 ("net: unix: allow bind to fail on mutex lock"),
the assignment to err is redundant. So remove it.
Signed-off-by: NJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 66e22932
......@@ -878,7 +878,6 @@ static int unix_autobind(struct socket *sock)
if (err)
return err;
err = 0;
if (u->addr)
goto out;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册