From: Sang-Heon Jeon <ekffu200098@gmail.com>
To: Bard Liao <yung-chuan.liao@linux.intel.com>,
Cezary Rojewski <cezary.rojewski@intel.com>,
Daniel Baluta <daniel.baluta@nxp.com>,
Jaroslav Kysela <perex@perex.cz>,
Kai Vehmanen <kai.vehmanen@linux.intel.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Mark Brown <broonie@kernel.org>,
Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Takashi Iwai <tiwai@suse.com>,
Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
sound-open-firmware@alsa-project.org,
Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Subject: [PATCH v2 0/4] ASoC: remove conditional returns with no effect
Date: Sun, 26 Jul 2026 01:03:39 +0900 [thread overview]
Message-ID: <20260725160344.916838-1-ekffu200098@gmail.com> (raw)
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
next reply other threads:[~2026-07-25 16:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-25 16:03 Sang-Heon Jeon [this message]
2026-07-25 16:03 ` [PATCH v2 1/4] ASoC: amd: acp: remove conditional return with no effect 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260725160344.916838-1-ekffu200098@gmail.com \
--to=ekffu200098@gmail.com \
--cc=Vijendar.Mukunda@amd.com \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=daniel.baluta@nxp.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=lgirdwood@gmail.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=s.nawrocki@samsung.com \
--cc=sound-open-firmware@alsa-project.org \
--cc=tiwai@suse.com \
--cc=venkataprasad.potturu@amd.com \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox