[PATCH] ASoC: bcm2835-i2s: remove unneeded semicolon

trix at redhat.com trix at redhat.com
Sun Nov 1 17:00:37 CET 2020


From: Tom Rix <trix at redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix at redhat.com>
---
 sound/soc/bcm/bcm2835-i2s.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c
index dc34fe1559c6..c2f7631e8705 100644
--- a/sound/soc/bcm/bcm2835-i2s.c
+++ b/sound/soc/bcm/bcm2835-i2s.c
@@ -797,7 +797,7 @@ static bool bcm2835_i2s_volatile_reg(struct device *dev, unsigned int reg)
 		return true;
 	default:
 		return false;
-	};
+	}
 }
 
 static bool bcm2835_i2s_precious_reg(struct device *dev, unsigned int reg)
@@ -807,7 +807,7 @@ static bool bcm2835_i2s_precious_reg(struct device *dev, unsigned int reg)
 		return true;
 	default:
 		return false;
-	};
+	}
 }
 
 static const struct regmap_config bcm2835_regmap_config = {
-- 
2.18.1



More information about the Alsa-devel mailing list