linux/drivers/isdn/hisax
Julia Lawall 4101e976e0 drivers/isdn: delete double assignment
Delete successive assignments to the same location.  In the first case, the
hscx array has two elements, so change the assignment to initialize the
second one.  In the second case, the two assignments are simply identical.
Furthermore, neither is necessary, because the effect of the assignment is
only visible in the next line, in the assignment in the if test.  The patch
inlines the right hand side value in the latter assignment and pulls that
assignment out of the if test.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression i;
@@

*i = ...;
 i = ...;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-27 12:23:21 -07:00
..
amd7930_fn.c
amd7930_fn.h
arcofi.c
arcofi.h
asuscom.c
avm_a1.c
avm_a1p.c
avm_pci.c
avma1_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
bkm_a4t.c
bkm_a8.c
bkm_ax.h
callc.c
config.c isdn: hisax: Replace the bogus access to irq stats 2010-10-12 16:39:06 +02:00
diva.c
elsa.c
elsa_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
elsa_ser.c
enternow_pci.c
fsm.c
fsm.h
gazel.c
hfc4s8s_l1.c
hfc4s8s_l1.h
hfc_2bds0.c
hfc_2bds0.h
hfc_2bs0.c
hfc_2bs0.h
hfc_pci.c
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
hfc_usb.h
hfcscard.c
hisax.h isdn: hisax: Replace the bogus access to irq stats 2010-10-12 16:39:06 +02:00
hisax_cfg.h
hisax_debug.h
hisax_fcpcipnp.c
hisax_fcpcipnp.h
hisax_if.h
hisax_isac.c
hisax_isac.h
hscx.c
hscx.h
hscx_irq.c
icc.c
icc.h
ipac.h
ipacx.c
ipacx.h
isac.c
isac.h
isar.c
isar.h
isdnl1.c
isdnl1.h
isdnl2.c
isdnl2.h
isdnl3.c
isdnl3.h
isurf.c
ix1_micro.c
jade.c
jade.h
jade_irq.c
Kconfig
l3_1tr6.c drivers/isdn: delete double assignment 2010-10-27 12:23:21 -07:00
l3_1tr6.h
l3dss1.c
l3dss1.h
l3ni1.c
l3ni1.h
lmgr.c
Makefile
mic.c
netjet.c
netjet.h
niccy.c
nj_s.c
nj_u.c
q931.c
s0box.c
saphir.c
sedlbauer.c
sedlbauer_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
sportster.c
st5481.h
st5481_b.c
st5481_d.c
st5481_init.c
st5481_usb.c
tei.c
teleint.c
teles0.c
teles3.c
teles_cs.c pcmcia: remove obsolete and wrong comments 2010-09-29 17:20:25 +02:00
telespci.c
w6692.c
w6692.h