[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOwfj2PYHm5Buj-4Z0yP1EMJ-hnVcrVX38spqaFQJYYZAu1RAg@mail.gmail.com>
Date: Mon, 24 Mar 2014 18:36:38 -0500
From: Vince Bridgers <vbridgers2013@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
nios2-dev@...ts.rocketboards.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 1/7] altera: Remove casts of pointer to same type
Hi Joe, thanks for the patch.
On Mon, Mar 24, 2014 at 3:15 PM, Joe Perches <joe@...ches.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@...ches.com>
> ---
Acked-by: Vince Bridgers <vbridgers2013@...il.com>
All the best,
Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists