summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/include
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-15 13:50:19 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-16 22:29:33 -0700
commitf5ef08d8f1f51f29c9f4f7457e76789e7f10212b (patch)
treee2fab6bc7eb9e2592158c172f289cfb41d6a19fa /drivers/staging/lustre/lustre/include
parentb55044062ce243868e9f1dbceda8a453fd61c7d3 (diff)
Staging: lustre: obd_class.h: Remove unused macro OBD_CHECK_MD_OP
Remove macro OBD_CHECK_MD_OP since it is defined but not used Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include')
-rw-r--r--drivers/staging/lustre/lustre/include/obd_class.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/lustre/lustre/include/obd_class.h b/drivers/staging/lustre/lustre/include/obd_class.h
index ec36c882fcab..561dcd53442a 100644
--- a/drivers/staging/lustre/lustre/include/obd_class.h
+++ b/drivers/staging/lustre/lustre/include/obd_class.h
@@ -353,16 +353,6 @@ static inline int obd_check_dev_active(struct obd_device *obd)
(export)->exp_md_stats, coffset); \
}
-#define OBD_CHECK_MD_OP(obd, op, err) \
-do { \
- if (!OBT(obd) || !MDP((obd), op)) { \
- if (err) \
- CERROR("md_" #op ": dev %s/%d no operation\n", \
- obd->obd_name, obd->obd_minor); \
- return err; \
- } \
-} while (0)
-
#define EXP_CHECK_MD_OP(exp, op) \
do { \
if ((exp) == NULL) { \