Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2741525pxb; Mon, 31 Jan 2022 03:22:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOYom/RZAyqRYDV8ulTx8EzHAA6RTRrjBRPfHPS7rxCxKBmQo+YO9rHdfNHrYCbmvm0Ycs X-Received: by 2002:a05:6402:1d49:: with SMTP id dz9mr20145316edb.238.1643628120583; Mon, 31 Jan 2022 03:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643628120; cv=none; d=google.com; s=arc-20160816; b=eMT5EYWhMhpkXmm/IyBlE8I2saF+IVJ4axb49nx1rMSqUPSYMFfUkzrVEsfTAySaHn HFipiRGctfBjdqL15uVE34UipjozObCkHETEShLlnroK07pb5QO83TQ10qZYj6Cx4INZ gEBu+nixUBcG1+qRRDy6lEAqy7bNKzztkbr4N2Th7onN6YHRhyZ1x+bgYoHMY3Z4Io15 dDZFYJUlhHg2BNPCanhiadMTrZu+8DJ5d88iPSvK3xuhYhxIVOKdgOsUd3XnsipAZ0QG KsqXER/Cagq3i9ryo6afOSZsN8sPgfP/2MF9wWYrMW0ZEAzDela76x4RAhNrsGH8vZ80 MuUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=+YjfSqES3Garfy38D4HDeqxFcctF+jErKUc8Gv244rs=; b=V2ePnpLziA+M4f4bUhU8doSAy4ruBzfRoZvortkdULuFPy1sa+zZpFx6gwq10vCIQo sOV+HogP+5Yt09Enni3pgMUymDlST29D8pTot+M38NHxElTU1y+QB8+L6O13wBUBGr9K yEfhGkpvYETjRaL8Pdld8euL1FGh4R29qkBRKeEJI5wVo4jijF6OSe7ZMVN8DlSZTsnE WWwV1+jamyRR539dORYyih4whbyUbb1iRjbF8FwppBJ1FwuvuIQWKYu4yTIg3S+aUYjQ sBMfEkKdqzU6scqvskz9KpmaOZV61l/4Isr0011B59vhb42nfKlmPkW2AO/HGXtfIKDn AD1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=DxSLK81N; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si8796304edf.175.2022.01.31.03.21.36; Mon, 31 Jan 2022 03:22:00 -0800 (PST) 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; dkim=pass header.i=@collabora.com header.s=mail header.b=DxSLK81N; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350401AbiA1RBO (ORCPT + 99 others); Fri, 28 Jan 2022 12:01:14 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38294 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350394AbiA1RBN (ORCPT ); Fri, 28 Jan 2022 12:01:13 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: usama.anjum) with ESMTPSA id D8AC11F46392 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1643389272; bh=HcvGQIq3fvQYfjKx8yTy+bAX9ZDUMawBDHbxMWj950E=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=DxSLK81NgXLNHJdDzNjkSeN6KC6c+7RJmMh02ayrUFsCCU6kYJ2O1EhAhSkbMTLk9 fH1+qyCaLHEQRZE3Wk10iew8DQrLfd2IWFAR/G3tQzUftJzWEyvZg+98h1MI7vITSu ARsacZ7SN96lfy6dIc/cObMGtxW0Hccye88uE98Zu2YSmmtHXMUq2PA0McIhuoGPr7 yTOAOmovRfB1jlojgKnCPN4v2nimKHwvLedNoAfu+/PvuQqcgsRZUv2bbfII0XaHyg xJ3LEMR83OTAEB+5+FLa6DKKz36gIAWY+vgg8ckvDMQuMnWja3FlDHfoakpkyK4O3k 2XYjihUlGIo8A== Message-ID: Date: Fri, 28 Jan 2022 22:01:03 +0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Cc: usama.anjum@collabora.com, Steve Longerbeam , Philipp Zabel , Mauro Carvalho Chehab , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Martin Kepplinger , Hans Verkuil , kernel@collabora.com, kernel-janitors@vger.kernel.org, linux-media , linux-staging@lists.linux.dev, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel Subject: Re: [PATCH] media: imx: imx8mq-mipi_csi2: Remove unneeded code Content-Language: en-US To: Fabio Estevam References: <20220128133649.1393201-1-usama.anjum@collabora.com> From: Muhammad Usama Anjum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/28/22 9:23 PM, Fabio Estevam wrote: > Hi Muhammad, > > On Fri, Jan 28, 2022 at 10:38 AM Muhammad Usama Anjum > wrote: >> >> ret is constant in imx8mq_mipi_csi_pm_suspend(). This function cannot >> return error. Remove the return variable. Simplify other functions which >> are using this function. >> >> Fixes: f0c2ba1ed4ad ("media: imx: imx8mq-mipi_csi2: fix system resume") > > The patch looks good. > > I would suggest removing the Fixes tag though as this is more of a > clean-up rather than a bug fix. I'll send a V2. Thanks, Usama