Re: [PATCH 06/17][trivial] mtd: Remove unnecessary casts of voidptr returning alloc function return values

From: Artem Bityutskiy
Date: Fri Nov 26 2010 - 10:41:10 EST


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 (ÐÑÑÑÐ ÐÐÑÑÑÐÐÐ)

--
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/