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)
commite6c5abf2542f1a91d31ae536707c00cf0ceaf376
tree7d3457325477cddc14f760fa3ebc9ff9a8433ffe
parentc2a6a5528f3144cf42b8b4d0655106f573f71fae
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