FAT: Simplify get_contents
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 20 Jul 2012 13:21:37 +0000 (15:21 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 15:22:43 +0000 (17:22 +0200)
commit0880e5bb0c638aec47c1f9349bbb9a0f48179313
tree9c6f97e251d02420179ef90226c7c23bb958e604
parentcc63b25efb908afa3c1405cd6fce1dd5659f91d7
FAT: Simplify get_contents

One call to get_cluster can be factorized with another, so avoid
duplicating code.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
fs/fat/fat.c