Merge pull request #1518 from antonio-nino-diaz-arm/an/fix_mmc

mmc: Fix warning about usage of uninitialized variable
This commit is contained in:
Dimitris Papastamos 2018-08-13 11:22:25 +01:00 committed by GitHub
commit 6902e66a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ static int mmc_fill_device_info(void)
unsigned int speed_idx;
unsigned int nb_blocks;
unsigned int freq_unit;
int ret;
int ret = 0;
struct mmc_csd_sd_v2 *csd_sd_v2;
switch (mmc_dev_info->mmc_dev_type) {