linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: remove unneeded semicolon
@ 2020-11-01 17:19 trix
  2020-11-02  8:51 ` Rojewski, Cezary
  2020-11-02 17:18 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: trix @ 2020-11-01 17:19 UTC (permalink / raw)
  To: cezary.rojewski, pierre-louis.bossart, liam.r.girdwood, yang.jie,
	broonie, perex, tiwai, amit.kucheria, rafael.j.wysocki,
	yuehaibing, andriy.shevchenko
  Cc: alsa-devel, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 sound/soc/intel/atom/sst/sst.c | 2 +-
 sound/soc/intel/catpt/loader.c | 2 +-
 sound/soc/intel/catpt/pcm.c    | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/intel/atom/sst/sst.c b/sound/soc/intel/atom/sst/sst.c
index e90590559185..e21e11dac000 100644
--- a/sound/soc/intel/atom/sst/sst.c
+++ b/sound/soc/intel/atom/sst/sst.c
@@ -186,7 +186,7 @@ int sst_driver_ops(struct intel_sst_drv *sst)
 			"SST Driver capabilities missing for dev_id: %x",
 			sst->dev_id);
 		return -EINVAL;
-	};
+	}
 }
 
 void sst_process_pending_msg(struct work_struct *work)
diff --git a/sound/soc/intel/catpt/loader.c b/sound/soc/intel/catpt/loader.c
index 8a5f20abcadb..40c22e4bb263 100644
--- a/sound/soc/intel/catpt/loader.c
+++ b/sound/soc/intel/catpt/loader.c
@@ -304,7 +304,7 @@ static int catpt_load_block(struct catpt_dev *cdev,
 	default:
 		sram = &cdev->dram;
 		break;
-	};
+	}
 
 	dst_addr = sram->start + blk->ram_offset;
 	if (alloc) {
diff --git a/sound/soc/intel/catpt/pcm.c b/sound/soc/intel/catpt/pcm.c
index ba653ebea7d1..1775540ac92b 100644
--- a/sound/soc/intel/catpt/pcm.c
+++ b/sound/soc/intel/catpt/pcm.c
@@ -92,7 +92,7 @@ catpt_get_stream_template(struct snd_pcm_substream *substream)
 		break;
 	default:
 		break;
-	};
+	}
 
 	return catpt_topology[type];
 }
@@ -419,7 +419,7 @@ static int catpt_dai_apply_usettings(struct snd_soc_dai *dai,
 		break;
 	default:
 		return 0;
-	};
+	}
 
 	list_for_each_entry(pos, &component->card->snd_card->controls, list) {
 		if (pos->private_data == component &&
-- 
2.18.1


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

* RE: [PATCH] ASoC: Intel: remove unneeded semicolon
  2020-11-01 17:19 [PATCH] ASoC: Intel: remove unneeded semicolon trix
@ 2020-11-02  8:51 ` Rojewski, Cezary
  2020-11-02 17:18 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Rojewski, Cezary @ 2020-11-02  8:51 UTC (permalink / raw)
  To: trix
  Cc: alsa-devel, linux-kernel, pierre-louis.bossart, liam.r.girdwood,
	yang.jie, broonie, perex, tiwai, amit.kucheria, Wysocki,
	Rafael J, yuehaibing, andriy.shevchenko

On 2020-11-01 6:19 PM, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> A semicolon is not needed after a switch statement.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---

Thanks for this update, Tom.

Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>

Regards,
Czarek


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

* Re: [PATCH] ASoC: Intel: remove unneeded semicolon
  2020-11-01 17:19 [PATCH] ASoC: Intel: remove unneeded semicolon trix
  2020-11-02  8:51 ` Rojewski, Cezary
@ 2020-11-02 17:18 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-11-02 17:18 UTC (permalink / raw)
  To: tiwai, andriy.shevchenko, pierre-louis.bossart, amit.kucheria,
	rafael.j.wysocki, cezary.rojewski, liam.r.girdwood, trix, perex,
	yuehaibing, yang.jie
  Cc: alsa-devel, linux-kernel

On Sun, 1 Nov 2020 09:19:43 -0800, trix@redhat.com wrote:
> A semicolon is not needed after a switch statement.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Intel: remove unneeded semicolon
      commit: c1af06a28a0176ceb1fc71408b32aabf53db4470

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

end of thread, other threads:[~2020-11-02 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 17:19 [PATCH] ASoC: Intel: remove unneeded semicolon trix
2020-11-02  8:51 ` Rojewski, Cezary
2020-11-02 17:18 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).