Re: [Linux-decnet-user] [PATCH net-next 1/2] net: Remove casts of void *
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: David M. <da...@da...> - 2011-06-17 03:23:56
|
From: Joe Perches <jo...@pe...> Date: Mon, 13 Jun 2011 19:21:26 -0700 > 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 <jo...@pe...> Applied. |