From 1f36519be978be7ccca3a8de3ee66c2972e12bcf Mon Sep 17 00:00:00 2001 From: Chad Austin Date: Thu, 13 Jul 2023 11:47:00 -0700 Subject: [PATCH] remove some unnecessary FOLLY_MAYBE_UNUSED Reviewed By: genevievehelsel Differential Revision: D47387429 fbshipit-source-id: 7d514560a40384384595a2849875f24ee3d16529 --- eden/fs/service/EdenServiceHandler.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/eden/fs/service/EdenServiceHandler.cpp b/eden/fs/service/EdenServiceHandler.cpp index f3e9fbf5ba..9aa372ae72 100644 --- a/eden/fs/service/EdenServiceHandler.cpp +++ b/eden/fs/service/EdenServiceHandler.cpp @@ -839,9 +839,9 @@ ImmediateFuture EdenServiceHandler::getSHA1ForPath( } folly::SemiFuture EdenServiceHandler::semifuture_addBindMount( - FOLLY_MAYBE_UNUSED std::unique_ptr mountPoint, - FOLLY_MAYBE_UNUSED std::unique_ptr repoPathStr, - FOLLY_MAYBE_UNUSED std::unique_ptr targetPath) { + std::unique_ptr mountPoint, + std::unique_ptr repoPathStr, + std::unique_ptr targetPath) { auto helper = INSTRUMENT_THRIFT_CALL(DBG3, *mountPoint); auto mountHandle = lookupMount(mountPoint); @@ -862,8 +862,8 @@ folly::SemiFuture EdenServiceHandler::semifuture_addBindMount( } folly::SemiFuture EdenServiceHandler::semifuture_removeBindMount( - FOLLY_MAYBE_UNUSED std::unique_ptr mountPoint, - FOLLY_MAYBE_UNUSED std::unique_ptr repoPathStr) { + std::unique_ptr mountPoint, + std::unique_ptr repoPathStr) { auto helper = INSTRUMENT_THRIFT_CALL(DBG3, *mountPoint); auto mountHandle = lookupMount(mountPoint); @@ -3501,8 +3501,8 @@ void EdenServiceHandler::debugOutstandingFuseCalls( } void EdenServiceHandler::debugOutstandingNfsCalls( - FOLLY_MAYBE_UNUSED std::vector& outstandingCalls, - FOLLY_MAYBE_UNUSED std::unique_ptr mountPoint) { + std::vector& outstandingCalls, + std::unique_ptr mountPoint) { auto helper = INSTRUMENT_THRIFT_CALL(DBG2); auto mountHandle = lookupMount(mountPoint); @@ -3536,8 +3536,7 @@ void EdenServiceHandler::debugOutstandingPrjfsCalls( } void EdenServiceHandler::debugOutstandingThriftRequests( - FOLLY_MAYBE_UNUSED std::vector& - outstandingRequests) { + std::vector& outstandingRequests) { auto helper = INSTRUMENT_THRIFT_CALL(DBG2); const auto requestsLockedPtr = outstandingThriftRequests_.rlock();