Skip to content

Commit 1f1d47e

Browse files
Julia Lawalldavem330
authored andcommitted
drivers/net/hamradio: Adjust confusing if indentation
Indent the branch of an if. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r disable braces4@ position p1,p2; statement S1,S2; @@ ( if (...) { ... } | if (...) S1@p1 S2@p2 ) @script:python@ p1 << r.p1; p2 << r.p2; @@ if (p1[0].column == p2[0].column): cocci.print_main("branch",p1) cocci.print_secs("after",p2) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent cc81735 commit 1f1d47e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • drivers/net/hamradio

‎drivers/net/hamradio/scc.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,8 @@ static void scc_tx_done(struct scc_channel *scc)
10691069
case KISS_DUPLEX_LINK:
10701070
scc->stat.tx_state = TXS_IDLE2;
10711071
if (scc->kiss.idletime != TIMER_OFF)
1072-
scc_start_tx_timer(scc, t_idle, scc->kiss.idletime*100);
1072+
scc_start_tx_timer(scc, t_idle,
1073+
scc->kiss.idletime*100);
10731074
break;
10741075
case KISS_DUPLEX_OPTIMA:
10751076
scc_notify(scc, HWEV_ALL_SENT);

0 commit comments

Comments
 (0)