commit | d74d0899349221b4356545ba88e4d0882d049d2f | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Fri May 04 06:16:46 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 06 18:58:41 2018 -0700 |
tree | 3e22e5270ccecc17058fc81f1487096ac931ec15 | |
parent | 5089cd418962823ff3a1ed1a0ec6a7d764fac27b [diff] |
staging: ks7010: refactor LOCAL_EEPROM_SUM case in hostif_mib_get_confirm This commit simplify conditional paths in LOCAL_EEPROM_SUM case inside hostif_mib_get_confirm function. It change logic to handle invalid values first and assign good ones at the end if it is the case. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>