commit | 67b8360acc0d717c46af3008fc10dcc5c91f7745 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Mar 28 10:40:31 2017 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Apr 24 21:42:08 2017 +0200 |
tree | b2f7a98956d701af190f0b045c308252620a0fa4 | |
parent | 0e72f95bf329dea7985f0f4ac81cc888e8b79797 [diff] |
mmc: core: refactor mmc_request_done() We have this construction: if (a && b && !c) finalize; else block; finalize; Which is equivalent by boolean logic to: if (!a || !b || c) block; finalize; Which is simpler code. Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>