From patchwork Mon Oct 19 19:00:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11844955 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EECBC433DF for ; Mon, 19 Oct 2020 19:02:25 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C1CA3206CA for ; Mon, 19 Oct 2020 19:02:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NF96KE6A"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LYixJ3VI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1CA3206CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EBePQYNAZaUXxiB37L90SnevCsCayd5UevMV6Yl/Hio=; b=NF96KE6AQbt+E2IW7GG1JATYgi fX579yLD38yf9BYkz9gTNDhQG3Gtv5SmtPHiBp7eRndc1Mm2OPClM5foYPjO9FuCpIhc3aBwHJI9R UkidVE4IaHlowi69u9qe4Hjf6fMlWZQ+MJxL5lLlgbvjCnjlg4M3Y8zQ/6iXBQxe4WNkxqbXOgHLq /V9czGljfmZnS+422cbENMas3pppW5gqAzX31dP6jzsJ45IKb0TOaYhMJnk3yEwK3F8wcO+kJAXTD I4KwO2ppUn6t9LUEEQgeqJ9DIsNTCD3NhdY1QdmAhpYXgfBfx2alxd1SdQ/xq8SB6QF0qtXLbLwPp ZSSnZ+nA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUaP5-0004jc-3h; Mon, 19 Oct 2020 19:01:07 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUaP2-0004iv-8k for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2020 19:01:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603134063; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type; bh=XwLMs+G9acmS2aakBMTMjzc5I3FvZvwGMkn+7uLCDjA=; b=LYixJ3VIOjOHI6hE5uJ+Oh18uS2zPO1RhcW1Taku5R5m4SsuURmKNBVhNfTxKWpE/uLGbm r4uPZlRakqhaNZG2vaLUsqpt7RhiI2T2CE/GuNeyMsyBKrL9UipA2Ft8q2+05izQiDd1kM 4TaG0akRH2jGSRePK2BQN+vYX15d9Zc= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-503-psj82kNwNqeS-FarbCONOw-1; Mon, 19 Oct 2020 15:01:01 -0400 X-MC-Unique: psj82kNwNqeS-FarbCONOw-1 Received: by mail-qv1-f69.google.com with SMTP id u17so521624qvt.23 for ; Mon, 19 Oct 2020 12:01:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XwLMs+G9acmS2aakBMTMjzc5I3FvZvwGMkn+7uLCDjA=; b=TeLApGBPbSXhA46r19laNvdBAuK87wM+ESBw0EgdzCaxzcjSVelJpDsVJuRalCLnmJ fO6dAZhCC+jUPPUy2xjkt1MBFgmT+SSOWNw0jsFRvMsEdtPtUCrbJsyEAAi7TkjexpE8 4PE3zsIp5kTV8/rW+fWgjU/Eza1L8CtZ6r5jfD7eep7vBYR0mzDCxs72KoGcgLvYZwKY nB4YxIKp4VUY1xDffFMFJ+XbDhPILJVtqMrsAjY9pY/7TCwy2MAV1y2fY0NNd+wM7XL3 dNcz8KeS0Uo9jLK0zGoczQejgYqHtaxPReIuPfItzcYAYSij5gQ8MaY5SOQMTjAunnb3 huPQ== X-Gm-Message-State: AOAM530aDvavYQJPYEmMTygLW7rLQFOfZIGl1oA1TyXTWDn09ytIX9BE gzJaebKXKJRMdYZ+IQLt9brtKyRam+6K8V2/PpY2wq8glfoUZJqwPRL0Sqc6srktmz6SjbmXtWd hGxTGtfa6bHqDcjpqNbeu4asNWfanSNQPnww= X-Received: by 2002:a37:2dc6:: with SMTP id t189mr1048673qkh.394.1603134061361; Mon, 19 Oct 2020 12:01:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzErTIxJNieTSDYoXo5Y00wXQUVggwoT0V7lhKV2TN8og4s019OyWS/oIKDVfNG0iHfaiHwQQ== X-Received: by 2002:a37:2dc6:: with SMTP id t189mr1048611qkh.394.1603134060763; Mon, 19 Oct 2020 12:01:00 -0700 (PDT) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id n3sm307910qta.10.2020.10.19.12.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 12:01:00 -0700 (PDT) From: trix@redhat.com To: kgene@kernel.org, krzk@kernel.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, linus.walleij@linaro.org Subject: [PATCH] pinctrl: remove unneeded break Date: Mon, 19 Oct 2020 12:00:55 -0700 Message-Id: <20201019190055.7371-1-trix@redhat.com> X-Mailer: git-send-email 2.18.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201019_150104_342831_9E25FADB X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tom Rix MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Tom Rix A break is not needed if it is preceded by a return Signed-off-by: Tom Rix --- drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-s3c24xx.c b/drivers/pinctrl/samsung/pinctrl-s3c24xx.c index 5e24838a582f..2223ead5bd72 100644 --- a/drivers/pinctrl/samsung/pinctrl-s3c24xx.c +++ b/drivers/pinctrl/samsung/pinctrl-s3c24xx.c @@ -108,19 +108,14 @@ static int s3c24xx_eint_get_trigger(unsigned int type) switch (type) { case IRQ_TYPE_EDGE_RISING: return EINT_EDGE_RISING; - break; case IRQ_TYPE_EDGE_FALLING: return EINT_EDGE_FALLING; - break; case IRQ_TYPE_EDGE_BOTH: return EINT_EDGE_BOTH; - break; case IRQ_TYPE_LEVEL_HIGH: return EINT_LEVEL_HIGH; - break; case IRQ_TYPE_LEVEL_LOW: return EINT_LEVEL_LOW; - break; default: return -EINVAL; }