Remove pointless casts from void pointers

Mostly in and around irq handlers.

Signed-off-by: Jeff Garzik <[email protected]>
Cc: Russell King <[email protected]>
Cc: "Luck Tony" <[email protected]>
Cc: Roman Zippel <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Cc: Karsten Keil <[email protected]>
Acked-by: "John W. Linville" <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: David Brownell <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Acked-by: Josh Boyer <[email protected]>
Acked-by: Holger Schurig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Jeff Garzik 2008-02-06 01:36:20 -08:00 • committed by Linus Torvalds
commit 15aafa2f9d
15 changed files with 21 additions and 23 deletions

View file

@ -418,7 +418,7 @@ scc_enet_rx(struct net_device *dev)
struct sk_buff *skb;
ushort pkt_len;
cep = (struct scc_enet_private *)dev->priv;
cep = dev->priv;
/* First, grab all of the stats for the incoming packet.
* These get messed up if we get called due to a busy condition.

View file

@ -682,7 +682,7 @@ fcc_enet_rx(struct net_device *dev)
struct sk_buff *skb;
ushort pkt_len;
cep = (struct fcc_enet_private *)dev->priv;
cep = dev->priv;
/* First, grab all of the stats for the incoming packet.
* These get messed up if we get called due to a busy condition.