From 74d20c101023d4689bdd8a0defa41a84512695f7 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Wed, 31 Jan 2024 10:10:05 +0800 Subject: [PATCH] omit redundant code --- df_datalink_sp/src/systembus/systembus.c | 12 ------------ df_datalink_sp/src/systembus/systembus.h | 3 --- 2 files changed, 15 deletions(-) diff --git a/df_datalink_sp/src/systembus/systembus.c b/df_datalink_sp/src/systembus/systembus.c index 3e25a09..829711b 100644 --- a/df_datalink_sp/src/systembus/systembus.c +++ b/df_datalink_sp/src/systembus/systembus.c @@ -562,18 +562,6 @@ int32_t SystemBus_HandleCmd(SYSBUS *instPtr) return Status; } -int32_t SystemBus_FLJ_PeriodUpdate(SYSBUS *instPtr) -{ - // TODO - return SUCCESS; -} - -int32_t SystemBus_LJ_PeriodUpdate(SYSBUS *instPtr) -{ - // TODO - return SUCCESS; -} - /*****************************************************************************/ /** * @brief This function send a repose frame from system bus tx queue. diff --git a/df_datalink_sp/src/systembus/systembus.h b/df_datalink_sp/src/systembus/systembus.h index a901fce..0e895c1 100644 --- a/df_datalink_sp/src/systembus/systembus.h +++ b/df_datalink_sp/src/systembus/systembus.h @@ -48,9 +48,6 @@ int32_t SystemBus_Init(SYSBUS **instPtr, SYSBUS_CONFIG *config); int32_t SystemBus_HandleCmd(SYSBUS *instPtr); -int32_t SystemBus_FLJ_PeriodUpdate(SYSBUS *instPtr); -int32_t SystemBus_LJ_PeriodUpdate(SYSBUS *instPtr); - int32_t SystemBus_MakeResp(SYSBUS *instPtr); int32_t SystemBus_TxIntrHandler(SYSBUS *instPtr);