From 25114fce6961e3b9c3391172ab4541263dc0e1d0 Mon Sep 17 00:00:00 2001 From: wanghailiangx Date: Mon, 23 May 2022 05:11:06 -0400 Subject: [PATCH] mvnf module: remove support for deprecated RPC names(missed two) These were deprecated in 2019, it's time to remove support for them now. Change-Id: Ia28abb9b724c9589e1da66f0f22a1ba95d96f5dc Signed-off-by: wanghailiangx Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12776 Reviewed-by: Changpeng Liu Reviewed-by: Aleksey Marchuk Reviewed-by: Jim Harris Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins --- module/event/subsystems/nvmf/nvmf_rpc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/event/subsystems/nvmf/nvmf_rpc.c b/module/event/subsystems/nvmf/nvmf_rpc.c index 348bbff0b..80247d6c5 100644 --- a/module/event/subsystems/nvmf/nvmf_rpc.c +++ b/module/event/subsystems/nvmf/nvmf_rpc.c @@ -71,7 +71,6 @@ rpc_nvmf_set_max_subsystems(struct spdk_jsonrpc_request *request, } SPDK_RPC_REGISTER("nvmf_set_max_subsystems", rpc_nvmf_set_max_subsystems, SPDK_RPC_STARTUP) -SPDK_RPC_REGISTER_ALIAS_DEPRECATED(nvmf_set_max_subsystems, set_nvmf_target_max_subsystems) static const struct spdk_json_object_decoder admin_passthru_decoder[] = { {"identify_ctrlr", offsetof(struct spdk_nvmf_admin_passthru_conf, identify_ctrlr), spdk_json_decode_bool} @@ -216,7 +215,6 @@ rpc_nvmf_set_config(struct spdk_jsonrpc_request *request, spdk_jsonrpc_send_bool_response(request, true); } SPDK_RPC_REGISTER("nvmf_set_config", rpc_nvmf_set_config, SPDK_RPC_STARTUP) -SPDK_RPC_REGISTER_ALIAS_DEPRECATED(nvmf_set_config, set_nvmf_target_config) struct nvmf_rpc_set_crdt { uint16_t crdt1;