diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-09-28 23:43:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 15:22:27 +0200 |
commit | 3a459a79cea24cf0f6def24a16ce7b308d93d8a2 (patch) | |
tree | 3de8ff63b4960d0cc162146106dbe404c67fcbaf /drivers/staging/lustre/lustre/obdclass | |
parent | f27355ba2f7b3f6916e9dd8e46a7a540a88eb564 (diff) |
staging/lustre: Remove unused function class_handle_hash_back()
No callers left.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/obdclass')
-rw-r--r-- | drivers/staging/lustre/lustre/obdclass/lustre_handles.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/lustre_handles.c b/drivers/staging/lustre/lustre/obdclass/lustre_handles.c index 97d79dab2835..d19ec15cb463 100644 --- a/drivers/staging/lustre/lustre/obdclass/lustre_handles.c +++ b/drivers/staging/lustre/lustre/obdclass/lustre_handles.c @@ -134,19 +134,6 @@ void class_handle_unhash(struct portals_handle *h) } EXPORT_SYMBOL(class_handle_unhash); -void class_handle_hash_back(struct portals_handle *h) -{ - struct handle_bucket *bucket; - - bucket = handle_hash + (h->h_cookie & HANDLE_HASH_MASK); - - spin_lock(&bucket->lock); - list_add_rcu(&h->h_link, &bucket->head); - h->h_in = 1; - spin_unlock(&bucket->lock); -} -EXPORT_SYMBOL(class_handle_hash_back); - void *class_handle2object(__u64 cookie) { struct handle_bucket *bucket; |