]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/net: eliminate irq handler impossible checks, needless casts
authorJeff Garzik <jeff@garzik.org>
Fri, 6 Oct 2006 18:56:04 +0000 (14:56 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 6 Oct 2006 18:56:04 +0000 (14:56 -0400)
commitc31f28e778ab299a5035ea2bda64f245b8915d7c
tree92d1070b0ae0c3528ab2c8787c4402fd8adf5a5f
parent86d91bab4806191a8126502d80d729c2a4765ebe
drivers/net: eliminate irq handler impossible checks, needless casts

- Eliminate check for irq handler 'dev_id==NULL' where the
  condition never occurs.

- Eliminate needless casts to/from void*

Signed-off-by: Jeff Garzik <jeff@garzik.org>
37 files changed:
drivers/net/3c509.c
drivers/net/3c523.c
drivers/net/3c527.c
drivers/net/8390.c
drivers/net/atp.c
drivers/net/de600.c
drivers/net/declance.c
drivers/net/dgrs.c
drivers/net/eepro.c
drivers/net/eexpress.c
drivers/net/irda/ali-ircc.c
drivers/net/irda/donauboe.c
drivers/net/irda/irport.c
drivers/net/irda/irport.h
drivers/net/irda/nsc-ircc.c
drivers/net/irda/w83977af_ir.c
drivers/net/lance.c
drivers/net/pcmcia/axnet_cs.c
drivers/net/pcnet32.c
drivers/net/plip.c
drivers/net/saa9730.c
drivers/net/sb1000.c
drivers/net/skfp/skfddi.c
drivers/net/sonic.c
drivers/net/sunhme.c
drivers/net/sunlance.c
drivers/net/sunqe.c
drivers/net/tokenring/smctr.c
drivers/net/tokenring/tms380tr.c
drivers/net/tulip/de4x5.c
drivers/net/wan/cycx_main.c
drivers/net/wan/sdla.c
drivers/net/wireless/orinoco.c
drivers/net/wireless/wavelan_cs.c
drivers/net/wireless/wl3501_cs.c
drivers/net/yellowfin.c
drivers/net/znet.c