提交 9a4ff8d4 编写于 作者: U Ursula Braun 提交者: David S. Miller

af_iucv: remove duplicate sock_set_flag

Remove duplicate sock_set_flag(sk, SOCK_ZAPPED) in iucv_sock_close,
which has been overlooked in September-commit
7514bab0.

Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: NUrsula Braun <ursula.braun@de.ibm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 49f5eba7
...@@ -428,7 +428,6 @@ static void iucv_sock_close(struct sock *sk) ...@@ -428,7 +428,6 @@ static void iucv_sock_close(struct sock *sk)
break; break;
default: default:
sock_set_flag(sk, SOCK_ZAPPED);
/* nothing to do here */ /* nothing to do here */
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册