summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorPeng Tao <bergwolf@gmail.com>2013-06-06 18:59:10 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 22:31:01 +0400
commitd29dc2e418a7a4a5a776417dd3574f3e91824088 (patch)
treed713e316a728a77212d5b1be689d16fca91c0bf0 /drivers/staging/lustre
parent32654b679d458ee066ebadbca2bf95f58c278f0a (diff)
downloadlinux-d29dc2e418a7a4a5a776417dd3574f3e91824088.tar.xz
staging/lustre: remove lu_context_keys_dump and lu_debugging_setup
There are no callers of them. Besides, lu_context_keys_dump breaks build when CONFIG_MODULES is not set. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Peng Tao <tao.peng@emc.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/llite/llite_lib.c3
-rw-r--r--drivers/staging/lustre/lustre/obdclass/lu_object.c26
2 files changed, 0 insertions, 29 deletions
diff --git a/drivers/staging/lustre/lustre/llite/llite_lib.c b/drivers/staging/lustre/lustre/llite/llite_lib.c
index 379625c45faa..2311b20ee99a 100644
--- a/drivers/staging/lustre/lustre/llite/llite_lib.c
+++ b/drivers/staging/lustre/lustre/llite/llite_lib.c
@@ -1061,9 +1061,6 @@ out_free:
RETURN(err);
} /* ll_fill_super */
-
-void lu_context_keys_dump(void);
-
void ll_put_super(struct super_block *sb)
{
struct config_llog_instance cfg;
diff --git a/drivers/staging/lustre/lustre/obdclass/lu_object.c b/drivers/staging/lustre/lustre/obdclass/lu_object.c
index 1cbbb6f80167..22b247ddd093 100644
--- a/drivers/staging/lustre/lustre/obdclass/lu_object.c
+++ b/drivers/staging/lustre/lustre/obdclass/lu_object.c
@@ -1915,32 +1915,6 @@ int lu_printk_printer(const struct lu_env *env,
return 0;
}
-int lu_debugging_setup(void)
-{
- return lu_env_init(&lu_debugging_env, ~0);
-}
-
-void lu_context_keys_dump(void)
-{
- int i;
-
- for (i = 0; i < ARRAY_SIZE(lu_keys); ++i) {
- struct lu_context_key *key;
-
- key = lu_keys[i];
- if (key != NULL) {
- CERROR("[%d]: %p %x (%p,%p,%p) %d %d \"%s\"@%p\n",
- i, key, key->lct_tags,
- key->lct_init, key->lct_fini, key->lct_exit,
- key->lct_index, atomic_read(&key->lct_used),
- key->lct_owner ? key->lct_owner->name : "",
- key->lct_owner);
- lu_ref_print(&key->lct_reference);
- }
- }
-}
-EXPORT_SYMBOL(lu_context_keys_dump);
-
/**
* Initialization of global lu_* data.
*/