]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0a3eb92b2db5bba4f90555b59f6de3895de97f0
tree7a4ce68933379570eef5dc3c6e2a9e166463c224
parent9d4d0fce3dae4997e3294b12d6db2bd3a0680025
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