From patchwork Tue Oct 20 13:15:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11846939 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 0E9EEC433DF for ; Tue, 20 Oct 2020 13:16:41 +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 830D722265 for ; Tue, 20 Oct 2020 13:16:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lv/Emom6"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="eGtwZ0fK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 830D722265 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=rVunVEGPWerQSYin6LN+waN2AIBVRn9RRtcJz9/q8v8=; b=lv/Emom6IpaiVQS4V3vKsQkfel ZiPGIGQq1D7hBzF+I9lcf+9j7bRYg8qqfiWEbkYWUCJ4nq5fLKQFB2MV6LdVoqLIccar42eeOTYyN MF72M6xcbZGgtD3XAlAWJLPpyWD3hhxs42bHLja+YTUAERR4YmSeVWiv1bebcaWycwiD+Ffgf35Tl 791qCi8bfosW0SP0NdJZ7ygh8AdtOIguBDR/GsxovBvofZK4uxUPLQxlYPJWmvcNIk67qIb8yGrJr cpzFbbx8gqelyTxwismVTmmNKejYBMhnezQ6iPRwKk5+yo2qh+/Esq82AIRf8g60EHM9Z4fJZBqpF hVMRXbHA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUrUB-0000uE-GB; Tue, 20 Oct 2020 13:15:31 +0000 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUrU8-0000tQ-9Y for linux-arm-kernel@lists.infradead.org; Tue, 20 Oct 2020 13:15:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603199727; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type; bh=LjmPMVzXWf6DnC/UBBUMQlfucytTz/vlaecv5F/UKBM=; b=eGtwZ0fKOkzMpRtLJ1GHOHequXokIjUJdHoX3iIyUBCLbdtepbkGo+0L6FSaBgzIBECMed m5b5fQQfdhLeARrLzAFSdzjYJP6h4r95g+klw9Eek+hm6pBG1VXXvGi9EZznLCbMoLGbzE mBkb9mQFgXuSkH1EiAQPFA6CSbphQRU= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-572-HloIZoACPNavGp0wWAFYpQ-1; Tue, 20 Oct 2020 09:15:26 -0400 X-MC-Unique: HloIZoACPNavGp0wWAFYpQ-1 Received: by mail-qt1-f200.google.com with SMTP id e19so1542311qtq.17 for ; Tue, 20 Oct 2020 06:15:26 -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=LjmPMVzXWf6DnC/UBBUMQlfucytTz/vlaecv5F/UKBM=; b=LLGYutAY64q4hdZgNEPemyzedKRWaoiUxzBeYlGFWpvFV5EswjxabeU+H/JkcI2Qlt hemk3GW9Mj2kd5Z4CrZ3U+D7Hfm3V4396S0O4oPTjQWtMOkGpA25aSnfvlh99PWyXQQg 33+Vo0uKfv2jQF0csYEucS7uNFmrKamGnykOFSfr9G2V/12B8lAiCIThs7rytAS4U6eT hJWoUDsa0iaUhAZYhR0C9Rbz9ip6jvSlVqHk5O9DntsL15JeOlDZflyPNmanY8muFD/T Qne8ydl5Aekoe3pxfExpAkSZZYz8GQg0R/ubxQzbvkXRaytwIE6JUO7rOgn6c4oYFbPL PHAw== X-Gm-Message-State: AOAM531p+5ywbLc8bujxrmm1vtuX4bgq+cON0TngGl3xWw+1sMV9Iaji YnEBoRJ9RWYb63vjtoSW+nL1QZ4tjW17jVPnTna777zcvVGO46mf4wZS76d8Sxbsqzx4jTGK/uz X9Ar6sIP+SoFS2MZmoobxjNSrtPfBpPiuMGo= X-Received: by 2002:a37:6246:: with SMTP id w67mr2420719qkb.35.1603199725598; Tue, 20 Oct 2020 06:15:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxPR6bV4aLBGYacEtAaH/79e0HSmuiKtMeTJx0qcZazIVj5QKtDoi7jlYYjqw+n1IkdtGPIQ== X-Received: by 2002:a37:6246:: with SMTP id w67mr2420695qkb.35.1603199725399; Tue, 20 Oct 2020 06:15:25 -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 s90sm713248qtd.15.2020.10.20.06.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 06:15:24 -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 v2] pinctrl: samsung: pinctrl-s3c24xx: remove unneeded break Date: Tue, 20 Oct 2020 06:15:20 -0700 Message-Id: <20201020131520.29117-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-20201020_091528_409497_14040AAF X-CRM114-Status: GOOD ( 10.32 ) 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 --- v2: Improve commit log --- 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; }