drivers/intel/fsp1_0/fastboot_cache: Remove unneeded 'else'

'else' is not needed after a 'break' or 'return'.

Change-Id: I109f5aaa87afde61a36fff884305b43c1de2c680
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33332
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Vlado Cibic
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS 2019-06-09 13:09:13 +02:00 committed by Patrick Georgi
parent 77b3a91bba
commit 561e11d6f8
1 changed files with 5 additions and 6 deletions

View File

@ -65,13 +65,12 @@ static u32 get_mrc_cache_region(struct mrc_data_container **mrc_region_ptr)
} }
*mrc_region_ptr = NULL; *mrc_region_ptr = NULL;
return 0; return 0;
} else { }
*mrc_region_ptr = cbfs_boot_map_with_leak("mrc.cache", *mrc_region_ptr = cbfs_boot_map_with_leak("mrc.cache",
CBFS_TYPE_MRC_CACHE, CBFS_TYPE_MRC_CACHE,
&region_size); &region_size);
return region_size; return region_size;
}
} }
/* /*