Commit 0d77d59f6293438f25e0560172699c0d3e4ef5ac

Authored by Mika Kukkonen
Committed by David S. Miller
1 parent d5ea4e2660

[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: Mika Kukkonen <mikukkon@iki.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -99,7 +99,7 @@
99 99 break;
100 100  
101 101 case NR_RESET:
102   - if (sysctl_netrom_reset_circuit);
  102 + if (sysctl_netrom_reset_circuit)
103 103 nr_disconnect(sk, ECONNRESET);
104 104 break;
105 105  
... ... @@ -130,7 +130,7 @@
130 130 break;
131 131  
132 132 case NR_RESET:
133   - if (sysctl_netrom_reset_circuit);
  133 + if (sysctl_netrom_reset_circuit)
134 134 nr_disconnect(sk, ECONNRESET);
135 135 break;
136 136  
... ... @@ -265,7 +265,7 @@
265 265 break;
266 266  
267 267 case NR_RESET:
268   - if (sysctl_netrom_reset_circuit);
  268 + if (sysctl_netrom_reset_circuit)
269 269 nr_disconnect(sk, ECONNRESET);
270 270 break;
271 271