diff options
author | Julia Lawall <julia@diku.dk> | 2010-08-05 10:29:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-16 21:06:30 -0700 |
commit | bb8a10bbd10a45db0eb45bac520489bdbc0917ef (patch) | |
tree | f489756f44d1666d60bd4d7779de409b7d8d83cc /drivers/net/pasemi_mac_ethtool.c | |
parent | f7df0b8d924ad2f39852ea397d39a51fbb955212 (diff) | |
download | op-kernel-dev-bb8a10bbd10a45db0eb45bac520489bdbc0917ef.zip op-kernel-dev-bb8a10bbd10a45db0eb45bac520489bdbc0917ef.tar.gz |
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/net/pasemi_mac_ethtool.c')
0 files changed, 0 insertions, 0 deletions