commit | e0a5640a9996bd9afef81dcdc62a82e59321a96f | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Wed Jun 29 16:24:22 2016 +0300 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jul 25 10:34:37 2016 +0200 |
tree | 5698fe9d457d061e8597acd9bf79e486ca2f735d | |
parent | 64ed8dd46ba69a7f03f9019758ef35604f0cdb04 [diff] |
mmc: sdhci: Simplify sdhci_finish_command() by clearing host->cmd at the start sdhci_finish_command() is going to set host->cmd to NULL. Simplify the code by using a local variable to hold host->cmd and set host->cmd to NULL at the start. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>