Skip to content

remove "state" variable #1028

Closed
Closed

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.

Activity

  1. added
    good first issue
    P3
    on Jun 21, 2019
  2. self-assigned this
    on Jun 24, 2019
  3. fredoh9 commented on Aug 2, 2019

    @fredoh9
    Collaborator

    this is already fixed and merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3good first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions