Skip to content
Commit 2e222105 authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Tom Rini
Browse files

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: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
Reviewed-by: default avatarTom Rini <trini@ti.com>
parent 971020c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment