[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)
commit358352b8b83c67ecf75f6d7bc3e2d64bf0cf506a
tree37336ab2cca8f9acc66eff0da42a235c59c1384f
parent99f933263ac30eafbb008d01ac1dd0adf40fc343
[INET]: Cleanup the xfrm4_tunnel_(un)register

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