In ops.h:
static inline int snd_sof_dsp_suspend(struct snd_sof_dev *sdev, int state) {...}
static inline int snd_sof_dsp_runtime_suspend(struct snd_sof_dev *sdev,
int state) {...}
and they are only called from pm.c as
ret = snd_sof_dsp_runtime_suspend(sdev, 0);
ret = snd_sof_dsp_suspend(sdev, 0);
i.e. the state variable is never used. Let's remove it.
In ops.h:
and they are only called from pm.c as
i.e. the
statevariable is never used. Let's remove it.