diff options
| author | Andrey Shvetsov <andrey.shvetsov@k2l.de> | 2017-05-12 13:59:49 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-15 12:59:08 +0300 |
| commit | a73470f202ea8b39b70d802b973b8d4429b9ed4d (patch) | |
| tree | 402f8491021228ccec0d31df3360c6d82bc15f75 /include | |
| parent | e06c1f6b4fff266f55ebd0a88992f9872a5779c3 (diff) | |
| download | linux-a73470f202ea8b39b70d802b973b8d4429b9ed4d.tar.xz | |
staging: most: net: remove useless variable channels_opened
The function most_nd_stop is only called by successful return from the
function most_nd_open, so the channels_opened is always true in the
function most_nd_stop.
The functions aim_resume_tx_channel and aim_rx_data are only called
after successful most_start_channel in the function most_nd_open, so the
channels_opened is always true in the functions aim_resume_tx_channel
and aim_rx_data.
Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
