staging: lustre: mdc: Remove unused macro
PATCH 1/1 staging: lustre: mdc: Remove unused macro
The macro mdc_unpack_acl(req, md) is not used anywhere. Hence, removed it.
Signed-off-by Bhaktipriya Shridhar <[email protected]>
--- drivers/staging/lustre/lustre/mdc/mdc_request.c | 2 -- 1 file changed, 2 deletions(-)
drivers/staging/lustre/lustre/mdc/mdc_request.c +0 -2
@@ -445,8 +445,6 @@ static int mdc_unpack_acl(struct ptlrpc_request *req, struct lustre_md *md) md->posix_acl = acl;return 0 ; } -#else -#define mdc_unpack_acl (req, md) 0#endif static int mdc_get_lustre_md(struct obd_export *exp,
--
2.1.4
Greg KH
maintainerQuoted 2 lines · Bhaktipriya Shridhar
The macro
mdc_unpack_acl(req, md)is not used anywhere. Hence, removed it.
It's used, in this very file, please be more careful.
Greg KH
maintainerQuoted 2 lines · Bhaktipriya Shridhar
The macro
mdc_unpack_acl(req, md)is not used anywhere. Hence, removed it.
It's used, in this very file, please be more careful.