From 798551bf2a231ee2499deb863049e00491ce981c Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Sat, 9 May 2020 22:35:36 -0700 Subject: [PATCH] module/accel: remove spdk prefix from static functions in IOAT module. Signed-off-by: Seth Howell Change-Id: I83026fbe8ae2dbdb159616cf98af4be1556a20ea Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2315 Tested-by: SPDK CI Jenkins Community-CI: Mellanox Build Bot Reviewed-by: Darek Stojaczyk Reviewed-by: Jim Harris Reviewed-by: Aleksey Marchuk --- module/accel/ioat/accel_engine_ioat_rpc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/accel/ioat/accel_engine_ioat_rpc.c b/module/accel/ioat/accel_engine_ioat_rpc.c index 3f6c5f932..7f2322536 100644 --- a/module/accel/ioat/accel_engine_ioat_rpc.c +++ b/module/accel/ioat/accel_engine_ioat_rpc.c @@ -76,8 +76,8 @@ static const struct spdk_json_object_decoder rpc_ioat_scan_accel_engine_decoder[ }; static void -spdk_rpc_ioat_scan_accel_engine(struct spdk_jsonrpc_request *request, - const struct spdk_json_val *params) +rpc_ioat_scan_accel_engine(struct spdk_jsonrpc_request *request, + const struct spdk_json_val *params) { struct rpc_ioat_scan_accel_engine req = {}; struct spdk_json_write_ctx *w; @@ -111,6 +111,6 @@ spdk_rpc_ioat_scan_accel_engine(struct spdk_jsonrpc_request *request, spdk_json_write_bool(w, true); spdk_jsonrpc_end_result(request, w); } -SPDK_RPC_REGISTER("ioat_scan_accel_engine", spdk_rpc_ioat_scan_accel_engine, SPDK_RPC_STARTUP) +SPDK_RPC_REGISTER("ioat_scan_accel_engine", rpc_ioat_scan_accel_engine, SPDK_RPC_STARTUP) SPDK_RPC_REGISTER_ALIAS_DEPRECATED(ioat_scan_accel_engine, ioat_scan_copy_engine) SPDK_RPC_REGISTER_ALIAS_DEPRECATED(ioat_scan_accel_engine, scan_ioat_copy_engine)