提交 0d77d59f 编写于 作者: M Mika Kukkonen 提交者: David S. Miller

[NETROM]: Fix three if-statements in nr_state1_machine()

I found these while compiling with extra gcc warnings;
considering the indenting surely they are not intentional?
Signed-off-by: NMika Kukkonen <mikukkon@iki.fi>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d5ea4e26
......@@ -99,7 +99,7 @@ static int nr_state1_machine(struct sock *sk, struct sk_buff *skb,
break;
case NR_RESET:
if (sysctl_netrom_reset_circuit);
if (sysctl_netrom_reset_circuit)
nr_disconnect(sk, ECONNRESET);
break;
......@@ -130,7 +130,7 @@ static int nr_state2_machine(struct sock *sk, struct sk_buff *skb,
break;
case NR_RESET:
if (sysctl_netrom_reset_circuit);
if (sysctl_netrom_reset_circuit)
nr_disconnect(sk, ECONNRESET);
break;
......@@ -265,7 +265,7 @@ static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype
break;
case NR_RESET:
if (sysctl_netrom_reset_circuit);
if (sysctl_netrom_reset_circuit)
nr_disconnect(sk, ECONNRESET);
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册