Messages in this thread | | | Date | Wed, 26 Mar 2014 15:47:37 -0400 (EDT) | Subject | Re: [PATCH net-next 2/7] alx: Remove casts of pointer to same type | From | David Miller <> |
| |
From: Joe Perches <joe@perches.com> Date: Mon, 24 Mar 2014 13:15:35 -0700
> 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>
Applied.
| |