]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: Remove obj_raw_hashfn
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2015 03:49:41 +0000 (14:49 +1100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2015 18:35:30 +0000 (14:35 -0400)
commit3dd31e1f153fa5b866e7109f8b89d21ab98fdf97
tree4798fe620f14eaab4403f0715aab12dbfaeed00f
parent10f2b972362c1a3162ab593d3f97df945696b618
rhashtable: Remove obj_raw_hashfn

Now that the only caller of obj_raw_hashfn is head_hashfn, we can
simply kill it and fold it into the latter.

This patch also moves the common shift from head_hashfn/key_hashfn
into rht_bucket_index.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c