ipv4: Cleanup struct net dereference in rt_intern_hash
authorPavel Emelyanov <xemul@openvz.org>
Wed, 24 Mar 2010 07:43:17 +0000 (07:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Mar 2010 03:57:35 +0000 (20:57 -0700)
commitb35ecb5d404c00f2420221ccbb1bbba1139353a4
treef5b1ebf5baae4d37e5ee84932e59a2668724e2b2
parent4b97efdf392563bf03b4917a0b5add2df65de39a
ipv4: Cleanup struct net dereference in rt_intern_hash

There's no need in getting it 3 times and gcc isn't smart enough
to understand this himself.

This is just a cleanup before the fix (next patch).

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