]> git.sur5r.net Git - u-boot/commit
ums: remove error-checking of MMC device size
authorStephen Warren <swarren@nvidia.com>
Mon, 5 May 2014 16:40:13 +0000 (10:40 -0600)
committerLukasz Majewski <l.majewski@samsung.com>
Thu, 8 May 2014 08:38:29 +0000 (10:38 +0200)
commitdc1e746c42d440fcd70aaaf02a1bbce5a4b2a5e6
tree2a6ae6574f4be8695e3ba25a39784d3c8ec8b729
parentc2474d9c718dea4f26067e85d356644a3aed26c2
ums: remove error-checking of MMC device size

There's no reason to believe that an MMC device will incorrectly report
its capacity. Remove error checking of this value from ums_disk_init()
to simplify it.

Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/ums.c