Re: [PATCH 10/30] irda: Do not do pointless kmalloc return valuecast in KingSun driver

From: David Miller
Date: Sat Aug 25 2007 - 02:24:10 EST


From: Jesper Juhl <jesper.juhl@xxxxxxxxx>
Date: Fri, 24 Aug 2007 01:54:23 +0200

> 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@xxxxxxxxx>

Applied.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/