aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-12-04 15:15:55 -0600
committerMark Brown <broonie@kernel.org>2019-12-09 18:40:13 +0000
commit5ad1cece81db9b389526499ae2e784013c85f136 (patch)
treec0a26cfd0d1d5360b374d6ea0894b397b486336f /sound
parentASoC: SOF: remove nocodec_fw_filename (diff)
downloadlinux-dev-5ad1cece81db9b389526499ae2e784013c85f136.tar.xz
linux-dev-5ad1cece81db9b389526499ae2e784013c85f136.zip
ASoC: SOF: Remove unused drv_name in sof_pdata
This field is only set but never used. Let's remove it to make code cleaner. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191204211556.12671-13-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sof/nocodec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/sof/nocodec.c b/sound/soc/sof/nocodec.c
index 0a2167f19f25..56d887545da3 100644
--- a/sound/soc/sof/nocodec.c
+++ b/sound/soc/sof/nocodec.c
@@ -74,8 +74,6 @@ int sof_nocodec_setup(struct device *dev,
if (!mach)
return -EINVAL;
- sof_pdata->drv_name = "sof-nocodec";
-
mach->drv_name = "sof-nocodec";
sof_pdata->tplg_filename = desc->nocodec_tplg_filename;