Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC: remove conditional returns with no effect
@ 2026-07-25 16:03 Sang-Heon Jeon
  2026-07-25 16:03 ` [PATCH v2 1/4] ASoC: amd: acp: remove conditional return " Sang-Heon Jeon
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Sang-Heon Jeon @ 2026-07-25 16:03 UTC (permalink / raw)
  To: Bard Liao, Cezary Rojewski, Daniel Baluta, Jaroslav Kysela,
	Kai Vehmanen, Liam Girdwood, Liam Girdwood, Mark Brown,
	Peter Ujfalusi, Sylwester Nawrocki, Takashi Iwai,
	Vijendar Mukunda
  Cc: linux-kernel, linux-sound, Pierre-Louis Bossart,
	sound-open-firmware, Venkata Prasad Potturu

Hello,

This series removes conditional returns where both branches return
the same value, so the check has no effect. As suggested by Vijendar,
the ASoC patch of the treewide v1 series [1] is split per vendor and
posted separately.

All patches are generated by the Coccinelle script, which you can
find in v1.

If you would rather drop any of the patches, just let me know and I will address
it in the next version.

---
Changes from v1 [1]
- Split patches per vendor
- Change base to broonie/sound/for-next
- Filter only ASoC patch

[1] https://lore.kernel.org/all/20260723184538.3888637-1-ekffu200098@gmail.com/
---

Sang-Heon Jeon (4):
  ASoC: amd: acp: remove conditional return with no effect
  ASoC: Intel: atom: remove conditional return with no effect
  ASoC: samsung: smdk_spdif: remove conditional return with no effect
  ASoC: SOF: Intel: remove conditional return with no effect

 sound/soc/amd/acp/acp-mach-common.c          | 11 +++--------
 sound/soc/intel/atom/sst-mfld-platform-pcm.c |  7 +------
 sound/soc/samsung/smdk_spdif.c               |  8 ++------
 sound/soc/sof/intel/hda-dsp.c                |  6 +-----
 4 files changed, 7 insertions(+), 25 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-27 22:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-25 16:03 [PATCH v2 0/4] ASoC: remove conditional returns with no effect Sang-Heon Jeon
2026-07-25 16:03 ` [PATCH v2 1/4] ASoC: amd: acp: remove conditional return " Sang-Heon Jeon
2026-07-27  4:44   ` Mukunda,Vijendar
2026-07-25 16:03 ` [PATCH v2 2/4] ASoC: Intel: atom: " Sang-Heon Jeon
2026-07-27  9:30   ` Cezary Rojewski
2026-07-25 16:03 ` [PATCH v2 3/4] ASoC: samsung: smdk_spdif: " Sang-Heon Jeon
2026-07-25 16:03 ` [PATCH v2 4/4] ASoC: SOF: Intel: " Sang-Heon Jeon
2026-07-27 13:09 ` [PATCH v2 0/4] ASoC: remove conditional returns " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox