Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2012680lqb; Mon, 27 May 2024 05:17:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSClPLP0A0mBDkeQ7FUSFeN7ZQ+ppCzInnSb77zaqUAhKptdk7WEOw/LF9ovbGAKt5/eYcv1g+1rGetIOrYl/g3+XLNnhtdSiur90E+g== X-Google-Smtp-Source: AGHT+IGHj8sXWOHupHR0P3cezxAPQxpy3bBj8JqW0KOX79vKwK6R5YpUiGqNNsozC5/LCUqr28nh X-Received: by 2002:a17:906:c106:b0:a63:598:88fd with SMTP id a640c23a62f3a-a6305989d03mr204496666b.62.1716812247445; Mon, 27 May 2024 05:17:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716812247; cv=pass; d=google.com; s=arc-20160816; b=wkDK+wnpqkWktNozOOVj0cc1d+Nth8Vs8jTANsBoSRni2lU0o7xA/DXvdTo9/fC1o5 I5TNUsT1wWCNz446y4KIa6J8r+8Fz8m+Rc7ilhcgh8Z3TWGkxmQU8EbWLKd11qTP6Vfd /EBDsaBvs4BGw/kxEYBWIafBZugHKFMJB2ORNGL+t30sjVeBR9nIEgfZiDp/LiZ+tWoj 58ARSzD9a+4oYOd1kG5KTo/IQVVW84iOnAN6l17KynI906lQvSeCqKM4eXvG919aILff e0vHmBrKxVvVDNnuiKg5RdGmT3JxB3lCvwApJyzWjyDLGPPBAFb9Vcrr6m4JC9Z++w+o ONrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3+pTexNnoi2rCugZBXqMjjTiJGuY+cdZad02BzfGqoE=; fh=IlkveLSGx1C3skMgkA2o74BwytU7XmLhV2g6zWN2LvE=; b=dJQgxK0YaNDZevD6l4bZ+dXvcFBZq3KJ1bVqFQVObcFYsR1VGrKna7YB+HpXJjaV5w tQydv0iUmivD5GZ4/mbEQGAbQ0SjTEMPQE2vIfxwfH/bGo8TrmvcVCj72bz22b1QdRjA a9Z8bofz6jGmzgqQ/1JJOWjfkiAUQ7K4r0nesVRQ4JUxCDUKcumjVdxKm5z6NqzpE1Jx Al+A/lYsfBj+LNt2JcLImzrdqOQSGzQ5i9srPhLcQDWVO/2mGaFccI5BVt821/CPG6CW wMtXtFSWvaevM7xWc62mwLXlbpu0KreVng9ZqybA/H1oihGcan7BevF/7m2m8Pe12jrX toWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="l/Hk6T5p"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-190555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626c8006f9si374934466b.104.2024.05.27.05.17.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="l/Hk6T5p"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-190555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2F4251F21D44 for ; Mon, 27 May 2024 12:17:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A046515E5B4; Mon, 27 May 2024 12:16:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="l/Hk6T5p" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 109EF15ECCE for ; Mon, 27 May 2024 12:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812203; cv=none; b=rou17U3q/Z47GdR+k53qDI4C1NIVoEl7R1ugVScL1YsEzSdQqG9kG7yGcAusBHF/wTLaWWMr0f9QbFQC3uOwvh9AVePlZ/A8xZStxGz01RkawLxrmWojPe9xtcG0bE/OtzQ3agG+O+NSd154/2nlBCrE4H8JdcD0BVjCLnaGsVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812203; c=relaxed/simple; bh=WrYbZaaHssEZuUL36PVuCYCFrB2Zbt4e9NL0L7i0xwI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CUJunxEInyJA5nQ+lO3CFM/yrdaX+D3CK9tEziiFZold3LgKAMiD57AC6kf+aVforQHJDoAg/AO8Znt7aCa4y4uycX8UqLcX7iQQ/3/wn/ry1LY88/ugKgVq0i6KVqYuUZFS4YA0c2NqD1k1Dq2CcaKbiPcoEu84/H84/2c3lsI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=l/Hk6T5p; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id DA7171C0009; Mon, 27 May 2024 12:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1716812200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3+pTexNnoi2rCugZBXqMjjTiJGuY+cdZad02BzfGqoE=; b=l/Hk6T5pn2De9E6jOnwCSc6eG58e00A9vohb+VB2G1BGtcVFQ0+HbNCad2x2X1J4Z/cRpW g5g5rRt1jg8czZ5FElP0w57pTzVs8zZLeLzCY1t9aDAkkNBnsb4/al6ezlvICJG4injp3H Gfu9rpz+PC5yUB2gEJ79pbDxJzb892m4L5Cv4v4aokye/SRKsJxncTdViGf/57yNx8d3nI FalV7Txy+Oiyakie2P4SR7ftw3NAXvuLzS8s6gSfvJDGZNWw0EPXBYQshMJmBU/XeG7szT 7dAvNXBhxSp0/xU8313R+PcIbETDiQI64ULXya+V6FQbZ0VtfXRU3bWexFB/mw== From: Miquel Raynal To: Andy Shevchenko , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Subject: Re: [PATCH v1 1/1] mtd: cfi: Get rid of redundant 'else' Date: Mon, 27 May 2024 14:16:38 +0200 Message-Id: <20240527121638.104039-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240503184230.2927283-1-andriy.shevchenko@linux.intel.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'5350f6ec55df381cd99db2a6bde283328fb3f75a' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Fri, 2024-05-03 at 18:42:30 UTC, Andy Shevchenko wrote: > In the snippets like the following > > if (...) > return / goto / break / continue ...; > else > ... > > the 'else' is redundant. Get rid of it. > > Signed-off-by: Andy Shevchenko > Reviewed-by: Jeff Johnson Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel