diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-01-07 05:41:52 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-09 03:47:09 (GMT) |
commit | efb975a67ea7846b966080f999589de570686aa0 (patch) | |
tree | 90788e6749778a352d8245c4b9c1fc6282e9bfb3 /kernel/configs.c | |
parent | 7c1b70234ed49b3ea9df079a1d3a5763e660304b (diff) | |
download | linux-efb975a67ea7846b966080f999589de570686aa0.tar.xz |
rhashtable: optimize rhashtable_lookup routine
Define an internal compare function and relevant compare argument,
and then make use of rhashtable_lookup_compare() to lookup key in
hash table, reducing duplicated code between rhashtable_lookup()
and rhashtable_lookup_compare().
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Cc: Thomas Graf <tgraf@suug.ch>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions