]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ced1401: remove useless value cast on kmalloc()
authorFengguang Wu <fengguang.wu@intel.com>
Sat, 27 Oct 2012 03:29:03 +0000 (11:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 18:06:59 +0000 (11:06 -0700)
commit2e185f6abb3a93b5a7061dcb588989e93433de9a
tree7d3457325477cddc14f760fa3ebc9ff9a8433ffe
parent0635f1d9d6e4e51acc264afa2e66ab839a8a91e2
staging: ced1401: remove useless value cast on kmalloc()

Casting value returned by k[cmz]alloc to (struct page * *) is useless.

Generated by: scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ced1401/ced_ioc.c