]> 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)
commit5927cbedb6c488536bfa38968a0e33d3df688a92
tree2532677d747e94865d70a041523ea1213225c2e4
parentdaac7e6048f7b63bb584a234d144f08e3b97d9f4
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