linux/drivers/isdn/hisax
Julia Lawall f7df0b8d92 drivers/isdn: Adjust confusing if indentation
In hisax/hfc_sx.c and mISDN/l1oip_core.c, the code after the if is
outdented so that it is not aligned with the if branch.

In mISDN/dsp_cmx.c, an else is added between the original if branch and the
following statement, in line with the code following it.  Without this
change, the first assignment to dsp->rx_W has no useful effect.

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:30 -07:00
..
amd7930_fn.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
amd7930_fn.h
arcofi.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
arcofi.h
asuscom.c
avm_a1.c
avm_a1p.c
avm_pci.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
avma1_cs.c pcmcia: do not use io_req_t when calling pcmcia_request_io() 2010-08-03 09:04:11 +02:00
bkm_a4t.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
bkm_a8.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
bkm_ax.h
callc.c fix comment/printk typos concerning "already" 2010-07-11 21:45:40 +02:00
config.c isdn/hisax: Convert pci_table entries to PCI_VDEVICE (if PCI_ANY_ID is used) 2010-07-15 19:05:24 -07:00
diva.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
elsa.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
elsa_cs.c pcmcia: do not use io_req_t when calling pcmcia_request_io() 2010-08-03 09:04:11 +02:00
elsa_ser.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
enternow_pci.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
fsm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fsm.h
gazel.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
hfc4s8s_l1.c Merge branch 'master' into for-next 2010-04-23 02:08:44 +02:00
hfc4s8s_l1.h
hfc_2bds0.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hfc_2bds0.h
hfc_2bs0.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hfc_2bs0.h
hfc_pci.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
hfc_pci.h
hfc_sx.c drivers/isdn: Adjust confusing if indentation 2010-08-16 21:06:30 -07:00
hfc_sx.h
hfc_usb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hfc_usb.h
hfcscard.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
hisax.h PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
hisax_cfg.h
hisax_debug.h
hisax_fcpcipnp.c hisax_fcpcipnp: fix broken isapnp device table. 2010-05-19 17:33:38 +09:30
hisax_fcpcipnp.h
hisax_if.h
hisax_isac.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hisax_isac.h
hscx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hscx.h
hscx_irq.c isdn: hisax: Fix test in waitforxfw 2009-11-04 08:31:19 -08:00
icc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
icc.h
ipac.h
ipacx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ipacx.h
isac.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isac.h
isar.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isar.h
isdnl1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isdnl1.h
isdnl2.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isdnl2.h
isdnl3.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isdnl3.h
isurf.c
ix1_micro.c
jade.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
jade.h
jade_irq.c
Kconfig PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
l3_1tr6.c ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
l3_1tr6.h
l3dss1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
l3dss1.h
l3ni1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
l3ni1.h
lmgr.c
Makefile ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
mic.c
netjet.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
netjet.h
niccy.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
nj_s.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
nj_u.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
q931.c drivers: isdn: use kernel macros to convert hex digit 2010-07-15 19:05:24 -07:00
s0box.c
saphir.c
sedlbauer.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
sedlbauer_cs.c pcmcia: do not request windows if you don't need to 2010-08-03 09:04:21 +02:00
sportster.c
st5481.h ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
st5481_b.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
st5481_d.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
st5481_init.c
st5481_usb.c ISDN: Add support for none reverse bitstreams to isdnhdc 2009-07-25 20:16:01 +02:00
tei.c fix comment/printk typos concerning "already" 2010-07-11 21:45:40 +02:00
teleint.c
teles0.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
teles3.c drivers/isdn/hisax: fix sparse warning: Should it be static? 2009-02-27 01:00:42 -08:00
teles_cs.c pcmcia: do not use io_req_t when calling pcmcia_request_io() 2010-08-03 09:04:11 +02:00
telespci.c PCI: push deprecated pci_find_device() function to last user 2010-02-22 16:17:01 -08:00
w6692.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
w6692.h