lkml.org 
[lkml]   [2013]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] extcon: Remove casting the return value which is a void pointer
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@samsung.com>
> ---
> drivers/extcon/extcon-class.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>

Applied it on extcon-linus branch.

Thanks,
Chanwoo Choi



\
 
 \ /
  Last update: 2013-09-11 03:01    [W:0.045 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site