Staging: lustre: mdc: Remove unused mdc_open function from header
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 30 Oct 2015 15:29:04 +0000 (20:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
Function mdc_open is declared in header file but it is not used anywhere.
Hence drop the declaration.

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/mdc/mdc_internal.h

index 5e0c8b5ca573d6716a7b02705884fd0ee848c89f..a41e2b9396cdd053014cce4724676c28f4e822f1 100644 (file)
@@ -97,11 +97,6 @@ int mdc_resource_get_unused(struct obd_export *exp, const struct lu_fid *fid,
 /* mdc/mdc_request.c */
 int mdc_fid_alloc(struct obd_export *exp, struct lu_fid *fid,
                  struct md_op_data *op_data);
-
-int mdc_open(struct obd_export *exp, u64 ino, int type, int flags,
-            struct lov_mds_md *lmm, int lmm_size, struct lustre_handle *fh,
-            struct ptlrpc_request **);
-
 struct obd_client_handle;
 
 int mdc_set_open_replay_data(struct obd_export *exp,