aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2016-06-29 16:24:22 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2016-07-25 10:34:37 +0200
commite0a5640a9996bd9afef81dcdc62a82e59321a96f (patch)
tree5698fe9d457d061e8597acd9bf79e486ca2f735d /lib/memory-notifier-error-inject.c
parent64ed8dd46ba69a7f03f9019758ef35604f0cdb04 (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>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions