[TIPC]: Remove redundant NULL check when discarding buffers
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 16 Apr 2008 02:01:43 +0000 (19:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 02:01:43 +0000 (19:01 -0700)
commit11ecede7874efb9c31184b49090fc6d9bb17f9f6
tree6d21d6986c74fa835fd4ff602e1de7a93ee69594
parentdec827d174d7f76c457238800183ca864a639365
[TIPC]: Remove redundant NULL check when discarding buffers

This patch eliminates a null pointer check when discarding a
TIPC message buffer, since kfree_skb() already handles this
situation.

Acknowledgements to Florian Westphal (fw@strlen.de> for
suggesting this enhancement.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.h