Skip to content
Commit 8383c6bf authored by Thomas Meyer's avatar Thomas Meyer Committed by Jiri Kosina
Browse files

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: default avatarThomas Meyer <thomas@m3y3r.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 30307c69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment