mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 (and a little editing): $ cat cast_void_pointer.cocci @@ type T; T *pt; void *pv; @@ - pt = (T *)pv; + pt = pv; Signed-off-by: Joe Perches <[email protected]> Acked-by: Sjur Brændeland <[email protected]> Acked-By: Chris Snook <[email protected]> Acked-by: Jon Mason <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Acked-by: David Dillow <[email protected]> Signed-off-by: David S. Miller <[email protected]>