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