diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2015-02-19 16:43:35 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-03-06 17:12:00 -0500 |
commit | 52df3d5b6a49dc3d867abb5414315490dd0098ef (patch) | |
tree | 965bfb21f5a2c9462c286bc896892ab61b5eb536 | |
parent | 2a2483685a9decd0af60f1dc9e49f46f9e65891b (diff) |
ipwireless: missing assignment
We never report the error because we don't assign it to ret.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/tty/ipwireless/hardware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/ipwireless/hardware.c b/drivers/tty/ipwireless/hardware.c index 2c14842541dd..017bfb624e8e 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) | |||
1455 | return; | 1455 | return; |
1456 | } | 1456 | } |
1457 | 1457 | ||
1458 | set_RTS(hw, PRIO_SETUP, channel_idx, | 1458 | ret = set_RTS(hw, PRIO_SETUP, channel_idx, |
1459 | (hw->control_lines [channel_idx] & | 1459 | (hw->control_lines [channel_idx] & |
1460 | IPW_CONTROL_LINE_RTS) != 0); | 1460 | IPW_CONTROL_LINE_RTS) != 0); |
1461 | if (ret) { | 1461 | if (ret) { |