This patch replaces s32Error with result to avoid camelcase.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
int host_int_set_operation_mode(tstrWILC_WFIDrv *hWFIDrv, u32 u32mode)
{
- int s32Error = 0;
+ int result = 0;
struct host_if_msg msg;
msg.body.mode.u32Mode = u32mode;
msg.drvHandler = hWFIDrv;
- 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;
}
/**