summaryrefslogtreecommitdiffstats
path: root/lib/inflate.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-07 06:41:52 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-09 04:47:09 +0100
commitefb975a67ea7846b966080f999589de570686aa0 (patch)
tree90788e6749778a352d8245c4b9c1fc6282e9bfb3 /lib/inflate.c
parentMerge branch 'cxgb4-next' (diff)
downloadlinux-efb975a67ea7846b966080f999589de570686aa0.tar.xz
linux-efb975a67ea7846b966080f999589de570686aa0.zip
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 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions