]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove pointless check for NULL prior to kfree
authorAllan Stephens <Allan.Stephens@windriver.com>
Fri, 31 Dec 2010 18:59:30 +0000 (18:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jan 2011 21:57:55 +0000 (13:57 -0800)
commit5ed4f533753f27b0105e595f34990411bce23f5d
tree1391c0d5a31ea1f907d82ce43efb9a73423167a9
parent916b9c34883101bdccbb8fc899607375f6ff1149
tipc: remove pointless check for NULL prior to kfree

It is acceptable to call kfree() with NULL, so these checks are not
serving any useful purpose.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_distr.c
net/tipc/port.c