Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp911098pxf; Wed, 7 Apr 2021 14:51:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY0E4kQhhhvqqANTjfQ9t0AuTkTcKpTBOA7mVhyy5AUpdgeWDXmk6aXFjZDqwBv2jq9J3F X-Received: by 2002:a17:90b:1e0f:: with SMTP id pg15mr5309429pjb.51.1617832309537; Wed, 07 Apr 2021 14:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617832309; cv=none; d=google.com; s=arc-20160816; b=FD7n1OM6TwJ7aeA0FlpjkUOyM7GZ/SiLztWlxtRb3bgYohaFL2WGiUnvKkaU8kERE2 E41HDcLl2ieXe3tlUy6BWSWOM0sL9yxfCpCvT0UOtWxjKOtrbIgdGMn0Pf2y9OPN78+S rD3DX5jNyGi3sn9M5oO5sWKylnJF/oO11qDwuTK5kbV0d4rvJHXz7/6d7GWxZEIIPxse 5J5s+elDiHmNXavEmqIGVh8sS8IyxXbw7ZTX7SWSUgD5FDYHv4qEYE72dM7CraScZAGD Bw1euCG3ScbuwTAAX7rMmfwS1nwPa6pcj9hXIjIIlQIG/QtY5Wc/Hs1taSg7WnufwC2J C/mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=hi29bvNz3b0h+J1/8SmX9GkZQUb/KXU3bHzILeV7OBI=; b=GkonbwjZIeO/0d3ZKUyC3V3AGps24tUjq8fkCxnyG+CEWoXsBbmbRN44GgtwQ6FDzF E4IHtgwCrQDYCxoAJJ6pSi6x21ZIAwZXWsXyPUUyofBp1rgkVcJjilqIRouXAErwin4I ciowROnAsRXO4I4VFYIPNiy3KrX4HhpMvM61gji8X2wcmlY2zOKiRaULpFa7sRiuPKSm jc44O76aaRJ5SIkp7dRtIxApPN2JkFymFl3kj77SgB7RZxeRVA7o9mhVxJU9VvWEeMiW 3pAiXPjBMd+1N/msACqNcs+dkC8E60hIBHSYuzeALCvD1lB7qkpTwkgqVzWrsIppmpAZ gYSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dvwti10i; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si25370777pfv.315.2021.04.07.14.51.37; Wed, 07 Apr 2021 14:51:49 -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; dkim=pass header.i=@chromium.org header.s=google header.b=dvwti10i; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239524AbhDGSWv (ORCPT + 99 others); Wed, 7 Apr 2021 14:22:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232479AbhDGSWt (ORCPT ); Wed, 7 Apr 2021 14:22:49 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA1AC061760 for ; Wed, 7 Apr 2021 11:22:39 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id w10so8206788pgh.5 for ; Wed, 07 Apr 2021 11:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:to:date:message-id:user-agent; bh=hi29bvNz3b0h+J1/8SmX9GkZQUb/KXU3bHzILeV7OBI=; b=dvwti10imC/5yBGONbIa6fAg6KAoYu+GkfwHaTpGSX9gtutrz8k4U53XVH8MoVEITd GR1KVJhoHM+wT5W+Uty0KbK0AEAIn/HWFUqDi6WdOdTZG6uPlMzd0Kfk0j0iLBoDSVsQ vIg31AGvFCG4zA4TvRIsdonHJiZecQ2nzu9vI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:to:date:message-id:user-agent; bh=hi29bvNz3b0h+J1/8SmX9GkZQUb/KXU3bHzILeV7OBI=; b=PQdSj0uWjJ+JpJ3NCcnRZPS9/knGaNGWS9ZdLxdewS1gd6Dbf22h1cgp2BOXqkwNf9 dLR+Bfy2q9pt0KqrtmyXOTEtsCr/re+XJwspdvMjsVv/wk7SoORHhMIVLkAvjRmLP38D vTerjRv1+gsHzJUk86ooL3Dxlnzcp3GaYd8G0II46dYi9Pfc7/nrrWrO0OB80MwbeQg0 y+EaxnObq21ME+G14fPr0EaCyRwQknBoSyPTKJXMEpJ3mAkM7SJO/JPrHY+opKzdBskY UUa1AzX2czuPA11Bwp9z+Vhm6jACSOp2qeqf0pZZcKIoqnYgYliX6vLUR+iuMdCOKNB2 jBtg== X-Gm-Message-State: AOAM531P7JzgkkVKBTK12JGTGvBkQGKPKfjH9UwIczegtGyX/0wwLX9O xnBm7dLdbT9JF0ITNyLy044BxQ== X-Received: by 2002:a63:6ec3:: with SMTP id j186mr4485221pgc.249.1617819759424; Wed, 07 Apr 2021 11:22:39 -0700 (PDT) Received: from chromium.org ([2620:15c:202:201:e193:83c5:6e95:43de]) by smtp.gmail.com with ESMTPSA id js16sm5777559pjb.21.2021.04.07.11.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 11:22:38 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210407130654.3387-1-bernard@vivo.com> References: <20210407130654.3387-1-bernard@vivo.com> Subject: Re: [PATCH] drm/msm: remove unneeded variable ret From: Stephen Boyd To: Abhinav Kumar , Bernard Zhao , Chandan Uddaraju , Daniel Vetter , David Airlie , Kuogee Hsieh , Rob Clark , Sean Paul , Tanmay Shah , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 07 Apr 2021 11:22:37 -0700 Message-ID: <161781975744.1883259.13405764054457057600@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Bernard Zhao (2021-04-07 06:06:21) > This patch fix coccicheck warning: > drivers/gpu/drm/msm/dp/dp_link.c:848:5-8: Unneeded variable: "ret". Retur= n "0" on line 880 > Also remove unneeded function return value check. >=20 > Signed-off-by: Bernard Zhao > --- Reviewed-by: Stephen Boyd