]> git.baikalelectronics.ru Git - kernel.git/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)
commit9fc757bbf80e8545082417c446fac9bba640eca5
tree0542afdab8a9b58aa2dd00f58d6f8103fdf8c3e6
parent59d5980c411759d035ee7d2fb70112d533836e5b
[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