[INET]: Cleanup the xfrm4_tunnel_(un)register
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 05:48:54 +0000 (21:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 05:48:54 +0000 (21:48 -0800)
Both check for the family to select an appropriate tunnel list.
Consolidate this check and make the for() loop more readable.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tunnel4.c

Simple merge