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,14 +65,13 @@ static u32 get_mrc_cache_region(struct mrc_data_container **mrc_region_ptr)
|
|||
}
|
||||
*mrc_region_ptr = NULL;
|
||||
return 0;
|
||||
} else {
|
||||
}
|
||||
*mrc_region_ptr = cbfs_boot_map_with_leak("mrc.cache",
|
||||
CBFS_TYPE_MRC_CACHE,
|
||||
®ion_size);
|
||||
|
||||
return region_size;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Find the largest index block in the MRC cache. Return NULL if none is
|
||||
|
|
Loading…
Reference in New Issue