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: Shraddha Barke <shraddha.6596@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c3cdad8899
commit
bbbc18ebdb
|
@ -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 @@ out_req:
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue