diff --git a/src/soc/amd/cezanne/config.c b/src/soc/amd/cezanne/config.c index 577f2aeb97..5db488cfa5 100644 --- a/src/soc/amd/cezanne/config.c +++ b/src/soc/amd/cezanne/config.c @@ -6,7 +6,6 @@ const struct soc_amd_common_config *soc_get_common_config(void) { - /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ const struct soc_amd_cezanne_config *cfg = config_of_soc(); return &cfg->common_config; } diff --git a/src/soc/amd/glinda/config.c b/src/soc/amd/glinda/config.c index f667475302..371cfebaa3 100644 --- a/src/soc/amd/glinda/config.c +++ b/src/soc/amd/glinda/config.c @@ -6,7 +6,6 @@ const struct soc_amd_common_config *soc_get_common_config(void) { - /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ const struct soc_amd_glinda_config *cfg = config_of_soc(); return &cfg->common_config; } diff --git a/src/soc/amd/mendocino/config.c b/src/soc/amd/mendocino/config.c index 9030ed0dab..f1d335e472 100644 --- a/src/soc/amd/mendocino/config.c +++ b/src/soc/amd/mendocino/config.c @@ -8,7 +8,6 @@ const struct soc_amd_common_config *soc_get_common_config(void) { - /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ const struct soc_amd_mendocino_config *cfg = config_of_soc(); return &cfg->common_config; } diff --git a/src/soc/amd/morgana/config.c b/src/soc/amd/morgana/config.c index 161d86cd49..0728f15e44 100644 --- a/src/soc/amd/morgana/config.c +++ b/src/soc/amd/morgana/config.c @@ -6,7 +6,6 @@ const struct soc_amd_common_config *soc_get_common_config(void) { - /* config_of_soc calls die() internally if cfg was NULL, so no need to re-check */ const struct soc_amd_morgana_config *cfg = config_of_soc(); return &cfg->common_config; } diff --git a/src/soc/amd/picasso/config.c b/src/soc/amd/picasso/config.c index f1384bb5b0..1836825ee3 100644 --- a/src/soc/amd/picasso/config.c +++ b/src/soc/amd/picasso/config.c @@ -6,7 +6,6 @@ const struct soc_amd_common_config *soc_get_common_config(void) { - /* 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; }