[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140326.154737.1717367560265062054.davem@davemloft.net>
Date: Wed, 26 Mar 2014 15:47:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: netdev@...r.kernel.org, jcliburn@...il.com, chris.snook@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 2/7] alx: Remove casts of pointer to same type
From: Joe Perches <joe@...ches.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@...ches.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists