Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp616772pxx; Mon, 26 Oct 2020 17:02:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCnpz15vkBTTRxjl5qSEO008iaBppaZaojulXw+mrKCiK92+SJNYtw1vlaVQ8kfcQxugUs X-Received: by 2002:a17:906:53d7:: with SMTP id p23mr18040317ejo.232.1603756955575; Mon, 26 Oct 2020 17:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603756955; cv=none; d=google.com; s=arc-20160816; b=0nCltwatXmzG+Hf5eSE0j9ZsaLZ/I3Cvu6LNobl5iOM5sEvN/f3V4oGzLQC7sc28Dp 4u4/CutON/uHtMDjSZ8rkNsF59OcZyMcvgbemZ6/xRHsC5RI7bmChmmNPKnM1cQGN73F 4uoWEo2lUih3LMiksChn0gfODUQIbtxx+F2y39uuiJJ2c5yr9oSLPVfpzrGbwbDs40oP 5Uath7pMxyKCh7xWVewGTXzHLkzS9/Yv19t7/yQT+D+rDGtV0+YZfVprQibYUvgCSbK3 EHXLvLgYi+r5W1ePo9Buagy5oFdmOXrCqK3LxcUv1E8o2ODZ43Rr5ZqiqFfRNz4G13Mv 3FYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=YEs7eYBEDA15PiZLMwjSeNwgmGFnRrrAvf8UBZnIC9E=; b=OvJ0UjeRn1sDshUmvnJSUZ70dSlrTFllafBdp+pf2h8lc+chIq//g4bbKoro4du4aq 35g01I8jwabeVWcT2FvEuu/8LyEZw6jfTThNsBqzKIoCqB6NhHXNkK1XKgt4aWjkhI0K 93qeXfXmTPCKTAMSuq8/0tDwF1FEfy0ljqD8b1dzGRO+KtnhuwIQUB8wptDpgw5MBU4F Zt9PJI5bebaKdIhgQlxx52nJLUrgsjaNlGALUM6tflh76uQyrDY6UpagN1iScAumgpqA yKyD92cKWaphAslYDHEBdX/2xngIfnFoCnqLzwHUwk5bN8Tc9TJwBzRjw9LPEQossHcC N/hg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 30si8624612edw.225.2020.10.26.17.02.14; Mon, 26 Oct 2020 17:02:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389119AbgJZUnM (ORCPT + 99 others); Mon, 26 Oct 2020 16:43:12 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:40309 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731544AbgJZUnL (ORCPT ); Mon, 26 Oct 2020 16:43:11 -0400 Received: from localhost (lfbn-lyo-1-1908-165.w90-65.abo.wanadoo.fr [90.65.88.165]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 2F6A224000C; Mon, 26 Oct 2020 20:43:05 +0000 (UTC) Date: Mon, 26 Oct 2020 21:43:04 +0100 From: Alexandre Belloni To: trix@redhat.com Cc: herbert@gondor.apana.org.au, davem@davemloft.net, nicolas.ferre@microchip.com, ludovic.desroches@microchip.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: atmel-sha: remove unneeded break Message-ID: <20201026204304.GB75353@piout.net> References: <20201019193653.13757-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201019193653.13757-1-trix@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/10/2020 12:36:53-0700, trix@redhat.com wrote: > 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; > -- > 2.18.1 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com