diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2015-02-19 22:43:35 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-03-06 23:12:00 +0100 |
commit | 52df3d5b6a49dc3d867abb5414315490dd0098ef (patch) | |
tree | 965bfb21f5a2c9462c286bc896892ab61b5eb536 /drivers/tty/ipwireless | |
parent | goldfish: remove unreachable line of code (diff) | |
download | linux-52df3d5b6a49dc3d867abb5414315490dd0098ef.tar.xz linux-52df3d5b6a49dc3d867abb5414315490dd0098ef.zip |
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>
Diffstat (limited to 'drivers/tty/ipwireless')
-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) 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) { |