From: Joe Perches <j...@perches.com> Date: Mon, 24 Mar 2014 10:45:12 -0700
> Using addressof then casting to the original type is pointless, > so remove these unnecessary casts. > > Done via coccinelle script: > > $ cat typecast.cocci > @@ > type T; > T foo; > @@ > > - (T *)&foo > + &foo > > Signed-off-by: Joe Perches <j...@perches.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/