From patchwork Mon Oct 19 18:59:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 286766 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.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable 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 C3FA2C433E7 for ; Mon, 19 Oct 2020 18:59:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 676ED2242B for ; Mon, 19 Oct 2020 18:59:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FnJIBwLe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727681AbgJSS7r (ORCPT ); Mon, 19 Oct 2020 14:59:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:52880 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730913AbgJSS7q (ORCPT ); Mon, 19 Oct 2020 14:59:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603133985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=b/sUnb6rArzO5JYs8f7grTfGvXTYQE7KJk/4fSRw0as=; b=FnJIBwLe5H696rwoR1cnVqdxhEr927m7TSl+4TTyh3bIjVLQ8Ug7vZ878DshmveLSoPnZi vHQZ6TIRVtrYinLAaNTmNA7XBAgA8Ka05kK+padhJ4RwDuANCLEDkTPjXF9Wi3vK5CNKws A/KR2MLI0OU+TTUR2xIztTumgdPKmDo= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-5mcNdZCLNhW_ihHvk4li7A-1; Mon, 19 Oct 2020 14:59:43 -0400 X-MC-Unique: 5mcNdZCLNhW_ihHvk4li7A-1 Received: by mail-qk1-f198.google.com with SMTP id g184so401140qke.3 for ; Mon, 19 Oct 2020 11:59:43 -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=b/sUnb6rArzO5JYs8f7grTfGvXTYQE7KJk/4fSRw0as=; b=PdMD9JBTlD75uYZQs5F0U825XrYd1yK+O7d2WQBSuCTpXmmO0QLO7j8jowkXPbyyX6 fLCOvyd4X3z97jZTkUfKNYWvnF7/PG9/lnxchQq+08yJyNgnpx7aWtO0x6bEV6z9bISb s6y6hXvDQokMFtc/xEkRf9l1esbDnlYzo0Ebb5E4I/TsNE1GoApwJ9Bq0u9UQpAw9hCp IwcJfyBHoaio+ZvgAmNT7YMGeuvL6nf5h7UWvfEghAthCivWZ2uROkjpKcv9dwnlAId3 IfYQ11SYr3yjBn6+Ove3W16daMgkegvir3zZ+iXQxZZ9EB0OmXTS+RnUFUMpzaupFQKq qBaA== X-Gm-Message-State: AOAM531bFXy9KLRpQbCsXSXu1TdB5IlH9BhdfI5g+6d+RfFjPXnKkeMC uX01zBLreNoHT+7N6tJj50Tsm79xwNJJ8ngXMTIkTICPg59yhwqlya6sw82EvYG+RAkza4E8yU7 jk4ZURggRf9qdO7y8xGY= X-Received: by 2002:a37:72c1:: with SMTP id n184mr971809qkc.73.1603133983154; Mon, 19 Oct 2020 11:59:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqxXjjF+uyMK7oy1Eylp+8IT030YWO/UDVX9qPo/Yrc+Bmt4eDIFSR8q0sSRiT+9AYftQatQ== X-Received: by 2002:a37:72c1:: with SMTP id n184mr971792qkc.73.1603133982894; Mon, 19 Oct 2020 11:59:42 -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 x75sm395252qka.59.2020.10.19.11.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 11:59:42 -0700 (PDT) From: trix@redhat.com To: sre@kernel.org Cc: patches@opensource.cirrus.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] power: remove unneeded break Date: Mon, 19 Oct 2020 11:59:37 -0700 Message-Id: <20201019185937.7012-1-trix@redhat.com> X-Mailer: git-send-email 2.18.1 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Tom Rix A break is not needed if it is preceded by a goto Signed-off-by: Tom Rix Acked-by: Charles Keepax --- drivers/power/supply/wm831x_power.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/supply/wm831x_power.c b/drivers/power/supply/wm831x_power.c index 18b33f14dfee..4cd2dd870039 100644 --- a/drivers/power/supply/wm831x_power.c +++ b/drivers/power/supply/wm831x_power.c @@ -668,7 +668,6 @@ static int wm831x_power_probe(struct platform_device *pdev) fallthrough; case -EPROBE_DEFER: goto err_bat_irq; - break; } return ret;