[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140326.154721.548465980290363881.davem@davemloft.net>
Date: Wed, 26 Mar 2014 15:47:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: netdev@...r.kernel.org, shahed.shaikh@...gic.com,
Dept-HSGLinuxNICDev@...gic.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 4/7] qlcnic: Remove casts of pointer to same
type
From: Joe Perches <joe@...ches.com>
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@...ches.com>
Applied.
--
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