diff options
| author | Takashi Iwai <[email protected]> | 2019-05-08 08:50:37 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-05-09 02:18:57 +0000 |
| commit | 7f6647ced298d56027218e47619b7f0d925fc83e (patch) | |
| tree | f417ff5e93b0106fd277c6508f7095b4175e166c /drivers/fpga/fpga-bridge.c | |
| parent | ASoC: stm32: i2s: update pcm hardware constraints (diff) | |
| download | kernel-7f6647ced298d56027218e47619b7f0d925fc83e.tar.gz kernel-7f6647ced298d56027218e47619b7f0d925fc83e.zip | |
ASoC: SOF: Fix unused variable warnings
The recent fix for the build fix caused a couple of unused variable
compiler warnings when CONFIG_SND_SOC_SOF_NOCODEC isn't set:
sound/soc/sof/core.c:263:6: warning: unused variable ‘ret’ [-Wunused-variable]
sound/soc/sof/core.c:262:28: warning: unused variable ‘machine’ [-Wunused-variable]
Fix them by adding another ifdef.
Fixes: ce38a75089f7 ("ASoC: SOF: core: fix undefined nocodec reference")
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
