net: rps: add the shortcut for one rps_cpus
authorChangli Gao <xiaosuo@gmail.com>
Fri, 3 Sep 2010 23:12:37 +0000 (23:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Sep 2010 20:10:53 +0000 (13:10 -0700)
commit6febfca98f25c7ee5c3ff7fc85e048bf82230ad5
treef9eb98d11c62db1ba18a73d225526ac8975b87f8
parent65040c33ee8d0199ab7686402bffdbf9e1e26cbe
net: rps: add the shortcut for one rps_cpus

When there is only one rps_cpus, skb_get_rxhash() can be eliminated.

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