]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/lustre: Remove unused OBD_CPT_ALLOC* macros
authorOleg Drokin <green@linuxhacker.ru>
Wed, 16 Sep 2015 16:26:54 +0000 (12:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2015 03:32:10 +0000 (20:32 -0700)
OBD_CPT_ALLOC and friends are no longer used, so remove them.

Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/obd_support.h

index f58d142660e7d123de7f9d46cc9eb853992b2865..5ae35fa4255760f164c2b7cb662e57cf40867e5c 100644 (file)
@@ -599,15 +599,6 @@ do {                                                                             \
 #define OBD_ALLOC_PTR(ptr) OBD_ALLOC(ptr, sizeof(*(ptr)))
 #define OBD_ALLOC_PTR_WAIT(ptr) OBD_ALLOC_WAIT(ptr, sizeof(*(ptr)))
 
-#define OBD_CPT_ALLOC_GFP(ptr, cptab, cpt, size, gfp_mask)                   \
-       __OBD_MALLOC_VERBOSE(ptr, cptab, cpt, size, gfp_mask)
-
-#define OBD_CPT_ALLOC(ptr, cptab, cpt, size)                                 \
-       OBD_CPT_ALLOC_GFP(ptr, cptab, cpt, size, GFP_NOFS)
-
-#define OBD_CPT_ALLOC_PTR(ptr, cptab, cpt)                                   \
-       OBD_CPT_ALLOC(ptr, cptab, cpt, sizeof(*(ptr)))
-
 #define OBD_ALLOC_LARGE(ptr, size)                                         \
 do {                                                                     \
        ptr = libcfs_kvzalloc(size, GFP_NOFS);                            \