commit | 636bd13c12d2331ad835b89681428eccb4cf102e | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Tue Jan 28 14:05:39 2014 +0100 |
committer | Chris Ball <chris@printf.net> | Sun Feb 23 10:40:34 2014 -0500 |
tree | 83fcd92867bfbb3fa61c71ba4eea3f8b0e3b14bb | |
parent | 4509f847751c9d2a724f37fe831393fbac34b80f [diff] |
mmc: core: Minor simplifications to __mmc_switch Instead of using several references to card->host, let's use a local variable. That means we can remove the BUG_ON verifications for the same pointers. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>