Staging: lustre: fld: Remove unused seq_client_alloc_super
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 30 Oct 2015 15:29:05 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
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>
drivers/staging/lustre/lustre/fid/fid_internal.h
drivers/staging/lustre/lustre/fid/fid_request.c

index 84daee1154dc5e2a566aa23b897d1a108b3d92c9..b79a813977cfd57b1d545c1c2cbc26d8025c31bf 100644 (file)
@@ -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[];
 
index 7c45e74790873d9861a84733e6f1d8eeee63816b..e8176288452c69aaba8ad07e213ca14fc32545ac 100644 (file)
@@ -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)
This page took 0.025838 seconds and 5 git commands to generate.