1
0
Fork 0

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>
5.4-rM2-2.2.x-imx-squashed
Daniel Baluta 2019-11-07 23:36:43 +02:00
parent 0d4340c272
commit 3d9382581a
2 changed files with 0 additions and 3 deletions

View File

@ -22,7 +22,6 @@ struct snd_sof_dsp_ops;
*/
struct snd_sof_pdata {
const struct firmware *fw;
const char *drv_name;
const char *name;
const char *platform;

View File

@ -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;