]> err.no Git - linux-2.6/commit
[IRDA]: Do not do pointless kmalloc return value cast in KingSun driver
authorJesper Juhl <jesper.juhl@gmail.com>
Sat, 25 Aug 2007 06:23:41 +0000 (23:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Aug 2007 01:35:44 +0000 (18:35 -0700)
commit901ded25fb98d76e55a8920834b173e7efc026b6
tree0542afdab8a9b58aa2dd00f58d6f8103fdf8c3e6
parentaaa53c4aba14f14de06419a20e552fe2d8823a33
[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: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/kingsun-sir.c