linux-kernel-test/drivers/net/bnx2x
Julia Lawall cc81735e80 drivers/net/bnx2x: Adjust confusing if indentation
Outdent the code following the 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>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-16 21:06:28 -07:00
..
bnx2x_cmn.c bnx2x: Load firmware in open() instead of probe() 2010-08-16 21:06:18 -07:00
bnx2x_cmn.h bnx2x: Load firmware in open() instead of probe() 2010-08-16 21:06:18 -07:00
bnx2x_dump.h
bnx2x_ethtool.c
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c drivers/net/bnx2x: Adjust confusing if indentation 2010-08-16 21:06:28 -07:00
bnx2x_link.h
bnx2x_main.c bnx2x: Load firmware in open() instead of probe() 2010-08-16 21:06:18 -07:00
bnx2x_reg.h
bnx2x_stats.c
bnx2x_stats.h
bnx2x.h
Makefile