diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2021-05-04 18:12:14 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-06-14 13:57:35 +0200 |
commit | 1e0b069bdc583925d6207e091e55ad4d0f30eb4c (patch) | |
tree | 2782acaef8cf0c38ac713068bc5e4a4d57f52dd0 /samples/bpf/sockex3_user.c | |
parent | c7bedef053cf7fd26efca90551a95c1776dd9e2f (diff) |
mmc: core: Re-structure some code in __mmc_poll_for_busy()
To make the code a bit more understandable, let's move the check about
whether polling is allowed or not, out to the caller instead. In this way,
we can also drop the send_status in-parameter, so let's do that.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20210504161222.101536-4-ulf.hansson@linaro.org
Diffstat (limited to 'samples/bpf/sockex3_user.c')
0 files changed, 0 insertions, 0 deletions