summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-11-07 23:36:43 +0200
committerDaniel Baluta <daniel.baluta@nxp.com>2019-11-27 21:48:18 +0200
commit3d9382581a26b8f059075ee9832ed99fc7dbef7a (patch)
treed7eed997510c4ecec5611fb51a0d748cdba2bb8d /sound/soc
parent0d4340c2727e15a52b08897b537993bbe9d0f449 (diff)
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>
Diffstat (limited to 'sound/soc')
-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 3d128e5a132c..3c7d87b4040c 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->fw_filename = desc->nocodec_fw_filename;
sof_pdata->tplg_filename = desc->nocodec_tplg_filename;