]> 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)
commit6c49d2934d5f1eea493228c165e94c37895afc2c
treeef2ebc1279b16935b7e5f0575af968123a6ca113
parent74c082d214607ab6ebff962edcddf88e514138e6
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