]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: dgnc: Remove casting the return value which is a void pointer
authorJingoo Han <jg1.han@samsung.com>
Wed, 25 Sep 2013 23:35:49 +0000 (08:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 16:26:12 +0000 (09:26 -0700)
commit0e4f66b448c650851b1e16cae08f9700e403c341
treeb192d85c43cf46e9aab8ac74711217fa31b7e78c
parent08c64f932b04f62f48ca6c991c54264800e8e0b8
staging: dgnc: 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.

CC: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_sysfs.c