Re: [PATCH] net/netfilter: simplify error handling

From: Patrick McHardy
Date: Fri Dec 05 2008 - 10:22:40 EST


Julia Lawall wrote:
From: Julia Lawall <julia@xxxxxxx>

nf_conntrack_alloc cannot return NULL, so there is no need to check for
NULL before using the value. I have also removed the initialization of ct
to NULL in nf_conntrack_alloc, since the value is never used, and since
perhaps it might lead one to think that return ct at the end might return
NULL.

Applied, thanks.

--
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/