mmc: core: Cleanup eMMC4.5 conditionals
authorSeungwon Jeon <tgih.jun@samsung.com>
Tue, 25 Oct 2011 00:43:12 +0000 (09:43 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 27 Oct 2011 13:11:33 +0000 (09:11 -0400)
commit336c716ae2272c9a26a6f82976d0e077d8ca824e
tree7a4ce68933379570eef5dc3c6e2a9e166463c224
parent9b68256cdef75204aa8a4583aa79dd7c081796b3
mmc: core: Cleanup eMMC4.5 conditionals

Code cleanup, putting all eMMC 4.5 detection cases together.
This patch removes one if-statement and assembles all. And it also
removes variable initialization below else-statement -- all members
of card structure are already set to zero at card-init.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c