Skip to content

ASoC: SOF: remove unused state variable in suspend function - #1056

Merged
ranj063 merged 1 commit into
thesofproject:topic/sof-devfrom
fredoh9:fix/suspend_state_variable
Jun 27, 2019
Merged

ranj063 merged 1 commit into
thesofproject:topic/sof-devfrom
fredoh9:fix/suspend_state_variable

Conversation

@fredoh9

@fredoh9 fredoh9 commented Jun 24, 2019

Copy link
Copy Markdown
Collaborator

Remove unused and no plan to use variable from suspend function.

Kernel built and checkpatched. Tested in APL UP2.

fixes: 1028
#1028

Remove unused and no plan to use variable from suspend function.

Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
@keyonjie

Copy link
Copy Markdown

LGTM, but better @ranj063 can confirm about this, iirc, it was added by @ranj063.

@ranj063

ranj063 commented Jun 25, 2019

Copy link
Copy Markdown
Collaborator

@fredoh9 agreed this is not needed atm but I wonder if this might come in handy when we implement D0i3 for WoV? @plbossart what do you think?

@plbossart

Copy link
Copy Markdown
Member

I think the idea what to specify what the target state was, instead of an implicit D3. Let's remove it for now, we can re-add it when we work on this.

@ranj063

ranj063 commented Jun 26, 2019

Copy link
Copy Markdown
Collaborator

Need one more approval for merging. @keyonjie @kv2019i @lyakh?

@ranj063
ranj063 merged commit 67e5fa8 into thesofproject:topic/sof-dev Jun 27, 2019
oder-chiou pushed a commit to oder-chiou/linux-soundwire that referenced this pull request May 5, 2026
The code in vmd_shutdown() had an indentation issue where spaces were
used instead of tabs. This commit corrects the indentation to use tabs,
adhering to the Linux kernel coding style guidelines.

Issue reported by the checkpatch.pl script:

  ERROR: code indent should use tabs where possible
  thesofproject#1056: FILE: drivers/pci/controller/vmd.c:1056:
  +        struct vmd_dev *vmd = pci_get_drvdata(dev);$

  WARNING: please, no spaces at the start of a line
  thesofproject#1056: FILE: drivers/pci/controller/vmd.c:1056:
  +        struct vmd_dev *vmd = pci_get_drvdata(dev);$

  ERROR: code indent should use tabs where possible
  thesofproject#1058: FILE: drivers/pci/controller/vmd.c:1058:
  +        vmd_remove_irq_domain(vmd);$

  WARNING: please, no spaces at the start of a line
  thesofproject#1058: FILE: drivers/pci/controller/vmd.c:1058:
  +        vmd_remove_irq_domain(vmd);$

No functional changes are intended.

Link: https://lore.kernel.org/linux-pci/20240901092602.17414-1-riyandhiman14@gmail.com
Signed-off-by: Riyan Dhiman <riyandhiman14@gmail.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants