[UDP]: No need to check afinfo != NULL in udp_proc_(un)register.
authorDenis V. Lunev <den@openvz.org>
Sat, 29 Mar 2008 01:24:01 +0000 (18:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Mar 2008 01:24:01 +0000 (18:24 -0700)
commit997feb5e7a24ce155c1d3bea9d0b5c6530bb6197
tree15d1ca5504840aeec20639cf08acd3efe9f043a6
parent6f191efe48af62dd5f8917dd21d187f896cd6c81
[UDP]: No need to check afinfo != NULL in udp_proc_(un)register.

udp_proc_register/udp_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/udp.c