Re: [PATCH] extcon: Remove casting the return value which is a voidpointer

From: Chanwoo Choi
Date: Tue Sep 10 2013 - 20:34:54 EST


Hi Jingoo,

On 09/09/2013 02:33 PM, Jingoo Han wrote:
> Casting the return value which is a void pointer is redundant.
> The conversion from void pointer to any other pointer type is
> guaranteed by the C programming language.
>
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---
> drivers/extcon/extcon-class.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>

Applied it on extcon-linus branch.

Thanks,
Chanwoo Choi

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