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:
parent
77b3a91bba
commit
561e11d6f8
|
@ -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,
|
||||||
®ion_size);
|
®ion_size);
|
||||||
|
|
||||||
return region_size;
|
return region_size;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue