X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fcl_object.h;h=a629a9ba3b8d8081b3363ec4e696d7c33658f814;hp=6df788a7f8d3dec459ed8959209860e11fa0d737;hb=d11360f4cc5d38cd748a97ca05e10121353ae616;hpb=a0e2135e3f12c6a19bf211533a4ba070c4783e6d diff --git a/lustre/include/cl_object.h b/lustre/include/cl_object.h index 6df788a..a629a9b 100644 --- a/lustre/include/cl_object.h +++ b/lustre/include/cl_object.h @@ -2089,11 +2089,6 @@ static inline struct cl_site *lu2cl_site(const struct lu_site *site) return container_of(site, struct cl_site, cs_lu); } -static inline int lu_device_is_cl(const struct lu_device *d) -{ - return d->ld_type->ldt_tags & LU_DEVICE_CL; -} - static inline struct cl_device *lu2cl_dev(const struct lu_device *d) { LASSERT(d == NULL || IS_ERR(d) || lu_device_is_cl(d));