[PATCH 06/17][trivial] mtd: Remove unnecessary casts of void ptr returning alloc function return values
Artem Bityutskiy
dedekind1 at gmail.com
Fri Nov 26 10:40:28 EST 2010
On Tue, 2010-11-09 at 00:09 +0100, Jesper Juhl wrote:
> Hi,
>
> The [vk][cmz]alloc(_node) family of functions return void pointers which
> it's completely unnecessary/pointless to cast to other pointer types since
> that happens implicitly.
>
> This patch removes such casts from drivers/mtd/
Pushed to l2-mtd-2.6.git, thanks.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list