diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2019-11-07 23:36:43 +0200 |
---|---|---|
committer | Daniel Baluta <daniel.baluta@nxp.com> | 2019-11-27 21:48:18 +0200 |
commit | 3d9382581a26b8f059075ee9832ed99fc7dbef7a (patch) | |
tree | d7eed997510c4ecec5611fb51a0d748cdba2bb8d | |
parent | 0d4340c2727e15a52b08897b537993bbe9d0f449 (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>
-rw-r--r-- | include/sound/sof.h | 1 | ||||
-rw-r--r-- | sound/soc/sof/nocodec.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h index 6b0527b5a44f..db8704d4b21a 100644 --- a/include/sound/sof.h +++ b/include/sound/sof.h @@ -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; 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; |