linux/drivers/scsi/arcmsr
Julia Lawall 7968f1944c [SCSI] drivers/scsi: 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: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-09-05 14:18:45 -03:00
..
Makefile [SCSI] arcmsr: initial driver, version 1.20.00.13 2006-07-28 14:13:40 -05:00
arcmsr.h [SCSI] SCSI: Support Type C RAID controller 2010-07-27 12:03:49 -05:00
arcmsr_attr.c scsi: Remove owner field from attribute initialization in ARCMSR driver 2010-08-05 13:53:35 -07:00
arcmsr_hba.c [SCSI] drivers/scsi: Adjust confusing if indentation 2010-09-05 14:18:45 -03:00