Re: [PATCH] net: remove redundant NULL pointer checks prior tokfree in drivers/net/slip.c

From: David S. Miller
Date: Sun Apr 24 2005 - 21:08:59 EST


On Mon, 11 Apr 2005 23:15:40 +0200 (CEST)
Jesper Juhl <juhl-lkml@xxxxxx> wrote:

> kfree() checks for NULL. Checking prior to calling it is redundant.
> This patch removes these redundant checks from drivers/net/slip.c
>
> Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

Applied, thanks Jesper.
-
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/