]> git.baikalelectronics.ru Git - kernel.git/commit
serial: ifx6x60: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:09:55 +0000 (14:09 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 21:29:58 +0000 (14:29 -0700)
commit07ac25aeeaa9e6b877624e6b3e9524b6f2db0316
tree0b3373df466894bf706dd0ba3f11ca9380efb68c
parentdbf100687fb5fba203ba486e5c90ea2d65559575
serial: ifx6x60: 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/ifx6x60.c