From patchwork Tue Jan 19 03:05:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiubo Li X-Patchwork-Id: 8057871 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 420239F96D for ; Tue, 19 Jan 2016 03:06:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59559203F3 for ; Tue, 19 Jan 2016 03:06:38 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7F39E203F1 for ; Tue, 19 Jan 2016 03:06:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id F1E212654EC; Tue, 19 Jan 2016 04:06:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4E560260534; Tue, 19 Jan 2016 04:06:23 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0C4CF261A28; Tue, 19 Jan 2016 04:06:22 +0100 (CET) Received: from super (unknown [223.68.205.132]) by alsa0.perex.cz (Postfix) with ESMTP id 886FA2604D6 for ; Tue, 19 Jan 2016 04:06:11 +0100 (CET) Received: from super (localhost [127.0.0.1]) by super (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u0J36u8I008168; Tue, 19 Jan 2016 11:06:56 +0800 Received: (from root@localhost) by super (8.14.4/8.14.4/Submit) id u0J36mZk008148; Tue, 19 Jan 2016 11:06:48 +0800 From: Xiubo Li To: broonie@kernel.org Date: Tue, 19 Jan 2016 11:05:46 +0800 Message-Id: <1453172746-8110-1-git-send-email-lixiubo@cmss.chinamobile.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, Xiubo Li Subject: [alsa-devel] [PATCH] ASoC: ab8500: remove the useless 'break' after 'return' X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 'break' here is not useful after 'return' or 'goto'. Signed-off-by: Xiubo Li --- sound/soc/codecs/ab8500-codec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c index affb192..b6820a1 100644 --- a/sound/soc/codecs/ab8500-codec.c +++ b/sound/soc/codecs/ab8500-codec.c @@ -2134,7 +2134,6 @@ static int ab8500_codec_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) "%s: ERROR: Unsupporter master mask 0x%x\n", __func__, fmt & SND_SOC_DAIFMT_MASTER_MASK); return -EINVAL; - break; } snd_soc_update_bits(codec, AB8500_DIGIFCONF3, mask, val);