spl: mmc: fix switch statement
authorMax Krummenacher <max.oss.09@gmail.com>
Tue, 1 Nov 2016 14:04:20 +0000 (15:04 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 29 Nov 2016 15:33:03 +0000 (16:33 +0100)
commitc8d7647f639813cff08a4a7de62db815829ec72b
treef46feb784b2bd5403622d89d365d0374cad5c250
parent54e4fcfa3c749a789192e83740a53234182f4ca3
spl: mmc: fix switch statement

If CONFIG_SPL_LIBCOMMON_SUPPORT is not defined there is a lone case statement
at the end of the switch leading to a compile error.
Remove the offending case statement.

| common/spl/spl_mmc.c:339:7: error: label at end of compound statement

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Marek Vasut <marex@denx.de>
common/spl/spl_mmc.c