Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp333971pxb; Tue, 1 Feb 2022 00:26:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxurBNZ69Y8PpXuqE0OhNIEKUKSepMMO8dLngYEvb+QdGkjWUro80lB7PuxS43QL3jSW5aj X-Received: by 2002:a17:90a:8401:: with SMTP id j1mr997542pjn.235.1643703997360; Tue, 01 Feb 2022 00:26:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643703997; cv=none; d=google.com; s=arc-20160816; b=Ls0UblNdYnSkiJCA1iOTos4/ATKYDhBTLeVdhlQ+3ZujGtZ/fzbtC7q54183qtdI8L P7NRY9xf8aACiuy25ZQjkrsFYb3vrhEfvTJ/+UuaWjquz5Yndy6DJXb8dyL8+cHZEHSo 46RmggiB+bhdqK6fJ+7SJymyTgnZr/7R/7esU0uTT/K0/KOrSNl53IrIS8OZI3D6iv82 ncAwoesdqv84l0i8KANgIJnmckY1ajRFqhvaA1UQPrPxJF9O6GRe6prc8nyr6dKPlS/P pP1mk5hD9Z3MtgvmptA1N7OyJ9gGuCo4eJnfmRLELp3CwrKA8LngsMcLxMGMNjm360WE XH6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1dIx/IqWiv/WWm7kyGBaD8OgAX89Qcfb4TRiFj5tbEo=; b=X/8sK1DxBsqTRRsqU9jc89vJCFVmoVI7RY2pUuZuaJrGpkCtJT0DzOirpCqSiHq7kG MSKJ44zNqkrhcWcH3txm3DGUnE+DbfWeknhtrNQSd4hliMjA68CmH9qyG1gjjVsSBlwa aetpT628wB7hA1VbBYF0qAY4S0acNXOoHxfSVP8ui1oQTy7IrVuxXh5r8U9KrMltqYmx A7oVFs27sQTB1H9TmwEh6QwcIXjtYdOzjXviEFGGqn8O18gU6uNwdGRAVIWkdmILTM9q xZIe1upiVNyIWvfPJUizBmD5hMYPthIRb3zG5iqTmGtX7fz2i0OVyVduo/cyFbuAfYjH tRVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="l1c+s/Ub"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si17915109plf.38.2022.02.01.00.26.20; Tue, 01 Feb 2022 00:26:37 -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=@gmail.com header.s=20210112 header.b="l1c+s/Ub"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353047AbiA2Syk (ORCPT + 99 others); Sat, 29 Jan 2022 13:54:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242589AbiA2Syj (ORCPT ); Sat, 29 Jan 2022 13:54:39 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ED5DC061714; Sat, 29 Jan 2022 10:54:39 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id ah7so28057210ejc.4; Sat, 29 Jan 2022 10:54:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1dIx/IqWiv/WWm7kyGBaD8OgAX89Qcfb4TRiFj5tbEo=; b=l1c+s/Ubw5dRxJadxh3PcbeOrd3x3kbo6i8JmXjzEQMZaSTO16HQdx3I0vUreojh8A 5mIJ83BN5mNHZAgJg+INAsnQri3TGqmnQ0DBWeF1SpYfsvnH4MqLrQk5/AyrAHTAxEVo ZsArQrsEzOnLjRNP/UzelTlsxsZWzzCYjTeWwZZc+jSiBfdUzN5Kc0aoyB/jnJQ2JckI wJ3hKoBwta9a3ZHAD4DzsnZ3CGlwDYxl5cXszd76KYXPfWPsVZNfFaB1RS/A2W8ynhAk +/wPxXFt2IDRRhN1vsBtwXc8p8CP8DtCqFK/5wfdMjxXhZKhrfCXrx5hOY5wKo7TAFa2 uB2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1dIx/IqWiv/WWm7kyGBaD8OgAX89Qcfb4TRiFj5tbEo=; b=3gKakXVq22vLZPK6vd5SEQ4gS9CXy/jwJ8Y4NYIBb6PMb9Q52j2EDQDBaaFcnlXTZ7 3iepxDtdls2CYtp4HBuUG7rQl8roYa0Xx7DvhHjnLOqYgfYvgBU9laQt6DNq70j4K8+O 0Nl6Orzgv1Foz7OZUXF4jvajqknyzEzUtSA0LA7LntaJ1MbyqDv0BZyAPKfTFBtc1mKM Od1DheUEJe+STEY7YA+SFl8bY/0CV2/HaJ8XsASZ/xOYRO/Ks9hEJZQTLOFDwoPlUApc lV4e+Urhrl1TQpDddS6+rCvw58+sg0XZ8JCO24eEa/lB8uBhtqUosBNpRLSWQtPazpSs gJMg== X-Gm-Message-State: AOAM533xLL+L2j3z3xfKQ+dUT5oIb3++ZT27117tmIbyzNsHSZOsJx99 /iYHmNQnAuBzOxlah88kDyMqlmrSH5bmxMszTWjlDt+bRb8= X-Received: by 2002:a17:906:eb8a:: with SMTP id mh10mr8511020ejb.492.1643482477674; Sat, 29 Jan 2022 10:54:37 -0800 (PST) MIME-Version: 1.0 References: <20220128170722.1624767-1-usama.anjum@collabora.com> In-Reply-To: <20220128170722.1624767-1-usama.anjum@collabora.com> From: Fabio Estevam Date: Sat, 29 Jan 2022 15:54:26 -0300 Message-ID: Subject: Re: [PATCH V2] media: imx: imx8mq-mipi_csi2: Remove unneeded code To: Muhammad Usama Anjum Cc: Steve Longerbeam , Philipp Zabel , Mauro Carvalho Chehab , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , "open list:MEDIA DRIVERS FOR FREESCALE IMX" , "open list:STAGING SUBSYSTEM" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list , Marc Kleine-Budde , kernel@collabora.com, kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 28, 2022 at 2:07 PM 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. > > Signed-off-by: Muhammad Usama Anjum > --- > Changes in V2: > Removed fixes tag Reviewed-by: Fabio Estevam