]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3670bf0fe965900413a730b599ff0fd083ff43d2
tree2532677d747e94865d70a041523ea1213225c2e4
parentfbce233b20d60f813c89814c565e66f9502e787f
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