Staging: lustre: obd_support.h: Remove unused OBD_SLAB_FREE_RTN0
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 15 Oct 2015 19:30:10 +0000 (01:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:34:06 +0000 (22:34 -0700)
Remove macro OBD_SLAB_FREE_RTN0 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>
drivers/staging/lustre/lustre/include/obd_support.h

index ec14b72..abc53f1 100644 (file)
@@ -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 {                                                                         \