Commit 15443445 authored by Menglong Dong's avatar Menglong Dong Committed by Herbert Xu
Browse files

rhashtable: Use __always_inline instead of inline



Sometimes, the compiler is not clever enough to inline the
rhashtable_lookup() for us, even if the "obj_cmpfn" and "key_len" in
params is const. This can introduce more overhead.

Therefore, use __always_inline for the rhashtable.

Signed-off-by: default avatarMenglong Dong <dongml2@chinatelecom.cn>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ab315f72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment