From: Alan Date: Thu, 19 Feb 2015 21:43:35 +0000 (+0000) Subject: ipwireless: missing assignment X-Git-Tag: v5.15~15612^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52df3d5b6a49dc3d867abb5414315490dd0098ef;p=platform%2Fkernel%2Flinux-starfive.git ipwireless: missing assignment We never report the error because we don't assign it to ret. Signed-off-by: Alan Cox Signed-off-by: Jiri Kosina --- diff --git a/drivers/tty/ipwireless/hardware.c b/drivers/tty/ipwireless/hardware.c index 2c14842..017bfb6 100644 --- a/drivers/tty/ipwireless/hardware.c +++ b/drivers/tty/ipwireless/hardware.c @@ -1455,7 +1455,7 @@ static void __handle_setup_get_version_rsp(struct ipw_hardware *hw) return; } - set_RTS(hw, PRIO_SETUP, channel_idx, + ret = set_RTS(hw, PRIO_SETUP, channel_idx, (hw->control_lines [channel_idx] & IPW_CONTROL_LINE_RTS) != 0); if (ret) {