OSDN Git Service

staging: ks7010: Remove the explicit cast on kmalloc
authorsayli karnik <karniksayli1995@gmail.com>
Thu, 15 Sep 2016 08:38:22 +0000 (14:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 07:58:50 +0000 (09:58 +0200)
commita1a736df3a811241100737b90f21582742529cff
tree2532677d747e94865d70a041523ea1213225c2e4
parentc8abeaf8021b1d78ba3b86235815047c8d648f4a
staging: ks7010: Remove the explicit cast on kmalloc

The assignment operator implicitly converts a void pointer to the type of the
pointer it is assigned to. Hence an explicit cast on the result of the kmalloc
function is not required.

Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c