From patchwork Mon Oct 19 19:36:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11845039 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 27F77C433DF for ; Mon, 19 Oct 2020 19:38:42 +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 9D803222EA for ; Mon, 19 Oct 2020 19:38:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KBzJBhZh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EhsvIE68" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D803222EA 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=bwpWf/dZ5VRXRScqaru48wTWu0VwobT1hvbXSjlRedc=; b=KBzJBhZhfzeKvfxJCqNx8xuAeS vcFykJOxIhh8kDsvNZydZsltWaBSyKiHyo6Ua1atnHa4y+FvS3r54TNB8dLoRBpIDFuU2ajXkNcCO 6zaAHnGVfozhKIS530351Tw85vQTsvl2HN/87SOI/P0ZSv9Pu+0kV6wBsmxg4x4glyuXpn3hrl7+J ChkfErPA+5qjSpnTI8XotHi8rvPPXZgDKuBrTqrOqp9itB61UwW7p5izd+3AMgPLQM/gmR4U4WD8G ZtspfJ0cgd8LKxfpEpQ+7MElzzoo9tnAk6j3PRT2H1eFnm1jgRzhPCTTA8rrzO/PcmSOWMMCg8oAh nA54aIbQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kUaxt-0007mt-UG; Mon, 19 Oct 2020 19:37:05 +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 1kUaxr-0007mR-1b for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2020 19:37:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603136222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type; bh=KU15bin5yh1/o+lq3KE7RT9x6CrBiQ+UqRtjQPmKPRU=; b=EhsvIE68Bc3FJ79hC/UST5vJmmCwOtI3OBf6heC7HmRn4tBpLQECX2ZPwKUaVCp7a2fC/b xknwaIxlbzBFTVUHjaeq3EOH6zWykDf44Kq0bYwVj0Lhhwvz9JfEDZ+e93BfloW7QLMA0M ty7Yy0K/lXrej1OlUYBPaiFZjdZniYg= 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-244-PMe1bq6DMRqfEke1yZv_Ow-1; Mon, 19 Oct 2020 15:36:58 -0400 X-MC-Unique: PMe1bq6DMRqfEke1yZv_Ow-1 Received: by mail-qt1-f200.google.com with SMTP id n7so728640qta.7 for ; Mon, 19 Oct 2020 12:36:58 -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=KU15bin5yh1/o+lq3KE7RT9x6CrBiQ+UqRtjQPmKPRU=; b=YFhXOxbkDhpCFGf0Pb4jjv6tiieJFIwisisnMqLkoiXRwEkIENWMtc0AGFUKWPwXWB 86zXLer3XXWlOd1GgM7v7cE6oJtbk57f5/3hECUQHl183ZtNUOYT88g3Oew/5Vky8N+T kijF71SiHP0h7jZzwDfeAohxSUIPgQkaV6qIZ5nildKAZ95HA59oU7VTJSnVXM/ncfSe nyLnbeRfvQ20tnnFdifA5gOx3ce81JtDQc3Akafwt5XuVNBxn4yiFK1k/ADxtE66Oc8F 0JShkRb3L1vQlq82fIx/lUqscG0vUDsoq97cHq2N2/WCL76jvhtUuk6grELeMxoV0+Ao BrTQ== X-Gm-Message-State: AOAM532IF+4rJTmxWGo55nFey5ARf3Dz8Ez6gJcjtihQ5xo9xf/GXVaD 2VH/a530pSN+BwY/kjyF214zFfaalK1TUjObMWbvXx3u0d6ekCpIi/hF5N6ZjfkhZWDfG3rNt4o NENjeenTiPwIaXRWX5PPavr934CzmXy7NATQ= X-Received: by 2002:ae9:e804:: with SMTP id a4mr1107014qkg.324.1603136218439; Mon, 19 Oct 2020 12:36:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvdQAIzHDvjts4PDAgJJfYwub44mHei8vjHCDSaOolSbAYtAnuSPossUBmcHdVD0H8TWveuQ== X-Received: by 2002:ae9:e804:: with SMTP id a4mr1106991qkg.324.1603136218130; Mon, 19 Oct 2020 12:36:58 -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 o1sm424115qkf.129.2020.10.19.12.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 12:36:57 -0700 (PDT) From: trix@redhat.com To: herbert@gondor.apana.org.au, davem@davemloft.net, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com Subject: [PATCH] crypto: atmel-sha: remove unneeded break Date: Mon, 19 Oct 2020 12:36:53 -0700 Message-Id: <20201019193653.13757-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_153703_124093_50295EC7 X-CRM114-Status: GOOD ( 11.40 ) 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: Tom Rix , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Reviewed-by: Alexandre Belloni --- drivers/crypto/atmel-sha.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 75ccf41a7cb9..0eb6f54e3b66 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c @@ -459,7 +459,6 @@ static int atmel_sha_init(struct ahash_request *req) break; default: return -EINVAL; - break; } ctx->bufcnt = 0;