From: Thomas Meyer Date: Tue, 8 Nov 2011 19:14:14 +0000 (+0100) Subject: HID: hid-lg4ff: Casting (void *) value returned by kmalloc is useless X-Git-Tag: v3.3-rc1~123^2~1^4~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8383c6bf9356cfd7093f7afbf16d2b8b4e1c2772;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed