Searched hist:efb975a67ea7846b966080f999589de570686aa0 (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | rhashtable.c | diff efb975a67ea7846b966080f999589de570686aa0 Wed Jan 07 06:41:52 CET 2015 Ying Xue <ying.xue@windriver.com> 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>
|