rps: optimize rps_get_cpu()
authorChangli Gao <xiaosuo@gmail.com>
Sun, 25 Apr 2010 05:50:10 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Apr 2010 05:50:10 +0000 (22:50 -0700)
optimize rps_get_cpu().

don't initialize ports when we can get the ports. one memory access
for ports than two.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found