diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-04-16 12:29:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 14:29:50 +0200 |
commit | d6a72502e3f37f4ae8118c724cf269a17dc73529 (patch) | |
tree | 8d8b040b77c164c65fb4a6e872fc11096f9fa0b0 /drivers/staging/lustre | |
parent | d3bef56b75ca494bcf249c760152bdb03e488da5 (diff) |
staging: ks7010: refactor code for hostif_sme_sleep_set function
This commit refactors code for hostif_sme_sleep_set function. This
function was using a switch-case block to handle only two states
where the action to do for them is the same. Just refactor a bit
to check for return condition at first and doing the common action
after in other case.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
0 files changed, 0 insertions, 0 deletions