]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: dgap: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Sep 2013 05:19:48 +0000 (14:19 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:43 +0000 (07:47 -0700)
commit538118b94febf5582b7313dc52e13c55cc1bd5a5
tree83ad60cb4c37250fc9ec58a50c7261e75ad1d5ab
parent3b33bd911dfcbe923b7aeac04e7b5691247dad35
staging: dgap: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_parse.c
drivers/staging/dgap/dgap_sysfs.c