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

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

Staging: lustre: obd_support.h: Remove unused OBD_SLAB_FREE_RTN0



Remove macro OBD_SLAB_FREE_RTN0 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 a3aa95f8
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -517,12 +517,6 @@ do { \
/* we memset() the slab object to 0 when allocation succeeds, so DO NOT
 * HAVE A CTOR THAT DOES ANYTHING.  its work will be cleared here.  we'd
 * love to assert on that, but slab.c keeps kmem_cache_s all to itself. */
#define OBD_SLAB_FREE_RTN0(ptr, slab)					 \
({									    \
	kmem_cache_free((slab), (ptr));				    \
	(ptr) = NULL;							 \
	0;								    \
})

#define __OBD_SLAB_ALLOC_VERBOSE(ptr, slab, cptab, cpt, size, type)	      \
do {									      \