From 35f16b2041cc205be56d6700e9fc933bfb1a8171 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Mon, 21 Mar 2022 15:57:12 +0800 Subject: [PATCH] minor changes --- include/dnode/bnode/bnode.h | 2 -- include/dnode/qnode/qnode.h | 2 -- include/dnode/snode/snode.h | 2 -- source/dnode/mgmt/bnode/src/bmInt.c | 2 -- source/dnode/mgmt/qnode/src/qmInt.c | 2 -- source/dnode/mgmt/snode/src/smInt.c | 2 -- 6 files changed, 12 deletions(-) diff --git a/include/dnode/bnode/bnode.h b/include/dnode/bnode/bnode.h index 84c2ea55f7..6f5888bdeb 100644 --- a/include/dnode/bnode/bnode.h +++ b/include/dnode/bnode/bnode.h @@ -28,8 +28,6 @@ typedef struct { } SBnodeLoad; typedef struct { - int32_t dnodeId; - int64_t clusterId; SMgmtWrapper *pWrapper; SendReqFp sendReqFp; SendMnodeReqFp sendMnodeReqFp; diff --git a/include/dnode/qnode/qnode.h b/include/dnode/qnode/qnode.h index df735cf1b3..354d8d2819 100644 --- a/include/dnode/qnode/qnode.h +++ b/include/dnode/qnode/qnode.h @@ -36,8 +36,6 @@ typedef struct { } SQnodeLoad; typedef struct { - int32_t dnodeId; - int64_t clusterId; SMgmtWrapper *pWrapper; SendReqFp sendReqFp; SendMnodeReqFp sendMnodeReqFp; diff --git a/include/dnode/snode/snode.h b/include/dnode/snode/snode.h index 4202859359..4855f71a76 100644 --- a/include/dnode/snode/snode.h +++ b/include/dnode/snode/snode.h @@ -32,8 +32,6 @@ typedef struct { } SSnodeLoad; typedef struct { - int32_t dnodeId; - int64_t clusterId; SMgmtWrapper *pWrapper; SendReqFp sendReqFp; SendMnodeReqFp sendMnodeReqFp; diff --git a/source/dnode/mgmt/bnode/src/bmInt.c b/source/dnode/mgmt/bnode/src/bmInt.c index 9964b88090..85102cbffc 100644 --- a/source/dnode/mgmt/bnode/src/bmInt.c +++ b/source/dnode/mgmt/bnode/src/bmInt.c @@ -24,8 +24,6 @@ static void bmInitOption(SBnodeMgmt *pMgmt, SBnodeOpt *pOption) { pOption->sendReqFp = dndSendReqToDnode; pOption->sendMnodeReqFp = dndSendReqToMnode; pOption->sendRspFp = dndSendRsp; - pOption->dnodeId = pDnode->dnodeId; - pOption->clusterId = pDnode->clusterId; } static int32_t bmOpenImp(SBnodeMgmt *pMgmt) { diff --git a/source/dnode/mgmt/qnode/src/qmInt.c b/source/dnode/mgmt/qnode/src/qmInt.c index 78ef238ab8..f9a39a8774 100644 --- a/source/dnode/mgmt/qnode/src/qmInt.c +++ b/source/dnode/mgmt/qnode/src/qmInt.c @@ -24,8 +24,6 @@ static void qmInitOption(SQnodeMgmt *pMgmt, SQnodeOpt *pOption) { pOption->sendReqFp = dndSendReqToDnode; pOption->sendMnodeReqFp = dndSendReqToMnode; pOption->sendRspFp = dndSendRsp; - pOption->dnodeId = pDnode->dnodeId; - pOption->clusterId = pDnode->clusterId; } static int32_t qmOpenImp(SQnodeMgmt *pMgmt) { diff --git a/source/dnode/mgmt/snode/src/smInt.c b/source/dnode/mgmt/snode/src/smInt.c index 0742a43157..62f2edacb7 100644 --- a/source/dnode/mgmt/snode/src/smInt.c +++ b/source/dnode/mgmt/snode/src/smInt.c @@ -24,8 +24,6 @@ static void smInitOption(SSnodeMgmt *pMgmt, SSnodeOpt *pOption) { pOption->sendReqFp = dndSendReqToDnode; pOption->sendMnodeReqFp = dndSendReqToMnode; pOption->sendRspFp = dndSendRsp; - pOption->dnodeId = pDnode->dnodeId; - pOption->clusterId = pDnode->clusterId; } static int32_t smOpenImp(SSnodeMgmt *pMgmt) { -- GitLab