From f180a6e6f3cb4962c8e3fd35dd00ed34c57ea2ec Mon Sep 17 00:00:00 2001 From: kailixu Date: Mon, 9 Oct 2023 19:26:16 +0800 Subject: [PATCH] chore: remove macro for grant notify --- source/dnode/mgmt/mgmt_dnode/src/dmWorker.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c b/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c index 58d53677c3..18da1d638c 100644 --- a/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c +++ b/source/dnode/mgmt/mgmt_dnode/src/dmWorker.c @@ -298,9 +298,7 @@ static void dmProcessMgmtQueue(SQueueInfo *pInfo, SRpcMsg *pMsg) { code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg); break; case TDMT_MND_GRANT_NOTIFY: -#ifdef TD_GRANT_OPTIMIZE code = dmProcessGrantNotify(NULL, pMsg); -#endif break; default: terrno = TSDB_CODE_MSG_NOT_PROCESSED;