summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/picasso/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/config.c b/src/soc/amd/picasso/config.c
index 3d4bc7b1ed..577d7b29a8 100644
--- a/src/soc/amd/picasso/config.c
+++ b/src/soc/amd/picasso/config.c
@@ -6,6 +6,7 @@
const struct soc_amd_common_config *soc_get_common_config()
{
+ /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */
const struct soc_amd_picasso_config *cfg = config_of_soc();
return &cfg->common_config;
}