[TCP]: No need to check afinfo != NULL in tcp_proc_(un)register.
authorDenis V. Lunev <den@openvz.org>
Mon, 14 Apr 2008 05:11:46 +0000 (22:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 05:11:46 +0000 (22:11 -0700)
commit1abf4fb20d38cf58c92b27f4d6ad4fa92a3bb553
tree7898253a4f84e159b180ead27ebad56a962c1cb8
parenta4146b1b2c6ba995db08b1a2aef5af1b17b151e6
[TCP]: No need to check afinfo != NULL in tcp_proc_(un)register.

tcp_proc_register/tcp_proc_unregister are called with a static pointer only.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c