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