mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
mmc: initialize an err variable
Initialize an err variable to 0. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reported-by: Coverity (CID: 313548) Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
2dddc1bb29
commit
52ff04a216
1 changed files with 1 additions and 1 deletions
|
@ -2062,7 +2062,7 @@ static int mmc_select_hs400es(struct mmc *mmc)
|
|||
|
||||
static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps)
|
||||
{
|
||||
int err;
|
||||
int err = 0;
|
||||
const struct mode_width_tuning *mwt;
|
||||
const struct ext_csd_bus_width *ecbw;
|
||||
|
||||
|
|
Loading…
Reference in a new issue