Commit b4fb17e7 authored by Mike Rapoport's avatar Mike Rapoport Committed by Greg Kroah-Hartman

staging: lustre: remove unused OBDO_{ALLOC, FREE} macros

The OBDO_ALLOC and OBDO_FREE macros are not used and can be removed.
Signed-off-by: default avatarMike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2ba262fb
...@@ -1726,16 +1726,6 @@ void obd_cleanup_caches(void); ...@@ -1726,16 +1726,6 @@ void obd_cleanup_caches(void);
/* support routines */ /* support routines */
extern struct kmem_cache *obdo_cachep; extern struct kmem_cache *obdo_cachep;
#define OBDO_ALLOC(ptr) \
do { \
OBD_SLAB_ALLOC_PTR_GFP((ptr), obdo_cachep, GFP_NOFS); \
} while (0)
#define OBDO_FREE(ptr) \
do { \
OBD_SLAB_FREE_PTR((ptr), obdo_cachep); \
} while (0)
static inline void obdo2fid(struct obdo *oa, struct lu_fid *fid) static inline void obdo2fid(struct obdo *oa, struct lu_fid *fid)
{ {
/* something here */ /* something here */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment