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)
commitec9f71c59e00388efc1337307511b59cc4c48394
tree4798fe620f14eaab4403f0715aab12dbfaeed00f
parentcffaa9cb922472936b269017afdd3f147cb6f380
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