提交 bbbc18eb 编写于 作者: S Shraddha Barke 提交者: Greg Kroah-Hartman

Staging: lustre: fld: Remove unused seq_client_alloc_super

Remove function seq_client_alloc_super since it is defined but not used.
Also remove corresponding declaration from header file.
Signed-off-by: NShraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c3cdad88
......@@ -44,8 +44,6 @@
#include "../../include/linux/libcfs/libcfs.h"
/* Functions used internally in module. */
int seq_client_alloc_super(struct lu_client_seq *seq,
const struct lu_env *env);
extern struct lprocfs_vars seq_client_debugfs_list[];
......
......@@ -142,27 +142,6 @@ static int seq_client_rpc(struct lu_client_seq *seq,
return rc;
}
/* Request sequence-controller node to allocate new super-sequence. */
int seq_client_alloc_super(struct lu_client_seq *seq,
const struct lu_env *env)
{
int rc;
mutex_lock(&seq->lcs_mutex);
/* Check whether the connection to seq controller has been
* setup (lcs_exp != NULL) */
if (!seq->lcs_exp) {
mutex_unlock(&seq->lcs_mutex);
return -EINPROGRESS;
}
rc = seq_client_rpc(seq, &seq->lcs_space,
SEQ_ALLOC_SUPER, "super");
mutex_unlock(&seq->lcs_mutex);
return rc;
}
/* Request sequence-controller node to allocate new meta-sequence. */
static int seq_client_alloc_meta(const struct lu_env *env,
struct lu_client_seq *seq)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册