Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5ef08d8 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman
Browse files

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: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b5504406
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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) {				    \