Messages in this thread | | | Date | Mon, 24 Mar 2014 18:36:38 -0500 | Subject | Re: [PATCH net-next 1/7] altera: Remove casts of pointer to same type | From | Vince Bridgers <> |
| |
Hi Joe, thanks for the patch.
On Mon, Mar 24, 2014 at 3:15 PM, Joe Perches <joe@perches.com> wrote: > Casting a pointer to a pointer of the same type is pointless, > so remove these unnecessary casts. > > Done via coccinelle script: > > $ cat typecast_2.cocci > @@ > type T; > T *foo; > @@ > > - (T *)foo > + foo > > Signed-off-by: Joe Perches <joe@perches.com> > ---
Acked-by: Vince Bridgers <vbridgers2013@gmail.com>
All the best,
Vince
| |