commit | 2e222105c5e5592aefdb2ac889cf4934d222eb14 | [log] [tgz] |
---|---|---|
author | Peter Korsgaard <peter.korsgaard@barco.com> | Thu Mar 21 04:55:17 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Wed May 01 16:24:00 2013 -0400 |
tree | aecb3ddd4e58cedbd129ea70660b40ca179a01dd | |
parent | 971020c755e5633c9a8f532356ee1750b38dd86f [diff] |
spl_mmc: cleanup variable types block_read returns unsigned long, so it doesn't make sense to check for < 0. and neither does marking the header structure as const and then casting away the constness to load data into it. Also cleanup some unneeded pointer casting while we're at it. Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com> Reviewed-by: Tom Rini <trini@ti.com>