HID: hid-lg4ff: Casting (void *) value returned by kmalloc is useless
authorThomas Meyer <thomas@m3y3r.de>
Tue, 8 Nov 2011 19:14:14 +0000 (20:14 +0100)
committerJiri Kosina <jkosina@suse.cz>
Fri, 11 Nov 2011 14:09:29 +0000 (15:09 +0100)
commit8383c6bf9356cfd7093f7afbf16d2b8b4e1c2772
tree99a348a8f6ec3102a8b6a1d82d0fd4cb4e915b42
parent30307c69d59b14723fbf8a524847b302388c702d
HID: hid-lg4ff: Casting (void *) value returned by kmalloc is useless

Casting (void *) value returned by kmalloc is useless
as mentioned in Documentation/CodingStyle, Chap 14.

The semantic patch that makes this change is available
in scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg4ff.c