summaryrefslogtreecommitdiff
path: root/src/shared/secondary/spp_worker_th/cmd_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/secondary/spp_worker_th/cmd_utils.c')
-rw-r--r--src/shared/secondary/spp_worker_th/cmd_utils.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/shared/secondary/spp_worker_th/cmd_utils.c b/src/shared/secondary/spp_worker_th/cmd_utils.c
index 15ceb6f..58db631 100644
--- a/src/shared/secondary/spp_worker_th/cmd_utils.c
+++ b/src/shared/secondary/spp_worker_th/cmd_utils.c
@@ -492,11 +492,10 @@ del_vhost_sockfile(struct sppwk_port_info *vhost)
/* Get component type of target component_info */
enum sppwk_worker_type
-spp_get_component_type(int id)
+sppwk_get_comp_type(int id)
{
- struct sppwk_comp_info *component_info =
- (g_mng_data.p_component_info + id);
- return component_info->wk_type;
+ struct sppwk_comp_info *ci = (g_mng_data.p_component_info + id);
+ return ci->wk_type;
}
/* Get core information which is in use */