Skip to content

remove "state" variable #1028

Description

@lyakh

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.

Metadata

Metadata

Assignees

Labels

P3Low-impact bugs or featuresgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions