Skip to content
Commit 901ded25 authored by Jesper Juhl's avatar Jesper Juhl Committed by David S. Miller
Browse files

[IRDA]: Do not do pointless kmalloc return value cast in KingSun driver



kmalloc() returns a void pointer, so there is no need to cast it in
 drivers/net/irda/kingsun-sir.c::kingsun_probe().

Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aaa53c4a
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