From 34b10f850626ee1fc29bd64c58518b2637cd4ba0 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Wed, 8 Dec 2021 19:38:44 +0800 Subject: [PATCH] minor changes --- source/dnode/mnode/impl/inc/mndOper.h | 30 --------------------------- source/dnode/mnode/impl/src/mndOper.c | 21 ------------------- source/dnode/mnode/impl/src/mnode.c | 1 - 3 files changed, 52 deletions(-) delete mode 100644 source/dnode/mnode/impl/inc/mndOper.h delete mode 100644 source/dnode/mnode/impl/src/mndOper.c diff --git a/source/dnode/mnode/impl/inc/mndOper.h b/source/dnode/mnode/impl/inc/mndOper.h deleted file mode 100644 index 5ad5059a0f..0000000000 --- a/source/dnode/mnode/impl/inc/mndOper.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2019 TAOS Data, Inc. - * - * This program is free software: you can use, redistribute, and/or modify - * it under the terms of the GNU Affero General Public License, version 3 - * or later ("AGPL"), as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -#ifndef _TD_MND_OPER_H_ -#define _TD_MND_OPER_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -int32_t mndInitOper(SMnode *pMnode); -void mndCleanupOper(SMnode *pMnode); - -#ifdef __cplusplus -} -#endif - -#endif /*_TD_MND_OPER_H_*/ diff --git a/source/dnode/mnode/impl/src/mndOper.c b/source/dnode/mnode/impl/src/mndOper.c deleted file mode 100644 index 4416a1fc2d..0000000000 --- a/source/dnode/mnode/impl/src/mndOper.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) 2019 TAOS Data, Inc. - * - * This program is free software: you can use, redistribute, and/or modify - * it under the terms of the GNU Affero General Public License, version 3 - * or later ("AGPL"), as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -#define _DEFAULT_SOURCE -#include "os.h" -#include "mndInt.h" - -int32_t mndInitOper(SMnode *pMnode) { return 0; } -void mndCleanupOper(SMnode *pMnode) {} \ No newline at end of file diff --git a/source/dnode/mnode/impl/src/mnode.c b/source/dnode/mnode/impl/src/mnode.c index 9ffe8968ae..3e0ac746fc 100644 --- a/source/dnode/mnode/impl/src/mnode.c +++ b/source/dnode/mnode/impl/src/mnode.c @@ -22,7 +22,6 @@ #include "mndDnode.h" #include "mndFunc.h" #include "mndMnode.h" -#include "mndOper.h" #include "mndProfile.h" #include "mndShow.h" #include "mndStable.h"