net: Remove casts of void *
authorJoe Perches <joe@perches.com>
Mon, 13 Jun 2011 16:21:26 +0000 (16:21 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Fri, 17 Jun 2011 03:19:27 +0000 (23:19 -0400)
commitea110733874d5176cb56dcf612a629ffac09dbf0
treed079bb9990ecf7dadc326b62605fb4de1f6fad4f
parent3c8def9776c3d4636291432522ea312f7a44be95
net: Remove casts of void *

Unnecessary casts of void * clutter the code.

These are the remainder casts after several specific
patches to remove netdev_priv and dev_priv.

Done via coccinelle script:

$ cat cast_void_pointer.cocci
@@
type T;
T *pt;
void *pv;
@@

- pt = (T *)pv;
+ pt = pv;

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
21 files changed:
net/8021q/vlanproc.c
net/atm/mpc.c
net/ceph/crypto.c
net/decnet/dn_dev.c
net/irda/af_irda.c
net/irda/ircomm/ircomm_tty_attach.c
net/irda/irda_device.c
net/irda/iriap.c
net/irda/irlan/irlan_client.c
net/irda/irlan/irlan_common.c
net/irda/irlan/irlan_eth.c
net/irda/irlan/irlan_provider.c
net/irda/irqueue.c
net/irda/irttp.c
net/key/af_key.c
net/netlabel/netlabel_unlabeled.c
net/sctp/bind_addr.c
net/sctp/input.c
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/socket.c