From: Chaehyun Lim Date: Fri, 2 Oct 2015 12:44:54 +0000 (+0900) Subject: staging: wilc1000: rename s32Error in host_int_wait_msg_queue_idle X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d6c9bbb070c99d8926308f284e2e13cd8bc3982;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: rename s32Error in host_int_wait_msg_queue_idle This patch replaces s32Error with result to avoid camelcase. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 2777229d95b5..9f93a5274b91 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -5344,7 +5344,7 @@ int host_int_set_mac_chnl_num(tstrWILC_WFIDrv *wfi_drv, u8 channel) int host_int_wait_msg_queue_idle(void) { - int s32Error = 0; + int result = 0; struct host_if_msg msg; @@ -5352,16 +5352,16 @@ int host_int_wait_msg_queue_idle(void) memset(&msg, 0, sizeof(struct host_if_msg)); msg.id = HOST_IF_MSG_Q_IDLE; - s32Error = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); - if (s32Error) { + result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg)); + if (result) { PRINT_ER("wilc mq send fail\n"); - s32Error = -EINVAL; + result = -EINVAL; } /* wait untill MSG Q is empty */ down(&hWaitResponse); - return s32Error; + return result; }