Re: [PATCH net-next 4/7] qlcnic: Remove casts of pointer to same type

From: David Miller
Date: Wed Mar 26 2014 - 15:47:38 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Mon, 24 Mar 2014 13:15:37 -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@xxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/