]> git.baikalelectronics.ru Git - kernel.git/commit
serial: samsung: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:10:30 +0000 (14:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 21:29:59 +0000 (14:29 -0700)
commitbdbfa09b260004a742eed867d37826a6ce44203f
treefe96ef133e1caeb396cbba67a80a8cf73a0641c5
parent07ac25aeeaa9e6b877624e6b3e9524b6f2db0316
serial: samsung: Remove casting the return value which is a void pointer

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>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c
drivers/tty/serial/samsung.h