Julia Lawall
510a05edce
net/atm: Adjust confusing if indentation
...
Outdent the code following 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>
2010-08-16 21:06:26 -07:00
..
2010-08-02 14:28:36 -05:00
2010-04-11 14:53:53 -07:00
2010-07-18 15:38:44 -07:00
2010-04-11 14:53:53 -07:00
2010-08-16 21:06:26 -07:00
2010-04-20 16:37:13 -07:00
2010-08-10 07:59:11 -04:00
2010-08-02 22:22:46 -07:00
2010-08-10 16:39:27 -07:00
2010-08-11 16:12:35 -07:00
2010-08-16 21:06:24 -07:00
2010-07-18 15:07:14 -07:00
2010-06-10 23:31:35 -07:00
2010-08-11 17:11:28 +00:00
2010-08-11 23:03:50 -07:00
2010-06-11 18:37:08 -07:00
2010-07-14 18:27:09 -07:00
2010-05-23 23:11:07 -07:00
2010-08-07 20:24:28 -07:00
2010-08-14 22:42:51 -07:00
2010-08-04 21:53:17 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-08-04 21:53:17 -07:00
2010-05-12 00:05:35 -07:00
2010-08-11 23:04:31 +09:30
2010-08-04 15:31:02 -07:00
2010-05-17 23:23:14 -07:00
2010-08-15 23:21:50 -07:00
2010-04-20 16:37:13 -07:00
2010-06-02 05:53:56 -07:00
2010-07-20 18:25:24 -07:00
2010-05-29 00:18:48 -07:00
2010-04-11 14:53:53 -07:00
2010-08-01 00:32:12 -07:00
2010-08-12 09:51:35 -07:00
2010-08-11 01:37:00 -07:00
2010-08-04 15:31:02 -07:00
2010-08-11 23:04:15 +09:30
2010-05-12 23:02:29 -07:00
2010-07-20 13:28:05 -07:00
2010-07-12 20:21:47 -07:00
2010-05-20 21:04:44 -07:00
2010-08-09 15:18:57 -04:00
2010-05-17 17:39:28 -07:00
2010-08-14 22:38:09 -07:00
2010-06-03 20:03:40 -07:00
2010-08-05 17:17:51 +00:00
2010-08-05 17:17:51 +00:00
2010-07-18 19:15:26 -07:00
2010-05-17 23:23:14 -07:00