diff options
author | Julia Lawall <julia@diku.dk> | 2010-08-05 10:29:38 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 04:06:30 (GMT) |
commit | bb8a10bbd10a45db0eb45bac520489bdbc0917ef (patch) | |
tree | f489756f44d1666d60bd4d7779de409b7d8d83cc /drivers/sn | |
parent | f7df0b8d924ad2f39852ea397d39a51fbb955212 (diff) | |
download | linux-fsl-qoriq-bb8a10bbd10a45db0eb45bac520489bdbc0917ef.tar.xz |
net/decnet: 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>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions