This patch replaces s32Error with result to avoid camelcase. Signed-off-by: Chaehyun Lim <chaehyun.lim@xxxxxxxxx> --- drivers/staging/wilc1000/host_interface.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index f8206a2..ea618e5 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -5364,7 +5364,7 @@ int host_int_wait_msg_queue_idle(void) int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address) { - int s32Error = 0; + int result = 0; struct host_if_msg msg; @@ -5375,13 +5375,13 @@ int host_int_set_wfi_drv_handler(tstrWILC_WFIDrv *u32address) msg.body.drv.u32Address = get_id_from_handler(u32address); msg.drvHandler = u32address; - 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; } - return s32Error; + return result; } s32 host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode) -- 2.6.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html