Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp619467pxb; Tue, 2 Feb 2021 13:24:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyPuxCKG6qIwr8UMfO4C13zfyO0aCsjA2xORAAEo4VN10/sBM8pqV/6sKvsAc6t+qLMDk4 X-Received: by 2002:a50:c94b:: with SMTP id p11mr48738edh.388.1612301080873; Tue, 02 Feb 2021 13:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612301080; cv=none; d=google.com; s=arc-20160816; b=NqXzoDTyvX0FZ99ureUA4Dk2t94VAAbOAxVYOk6Tg5ovjLLkPHGNkwIOiaagHbWViG RcLQFMUG4GF7p8jjgYKuxkoC8ycL+xKGswXsnk+cJMTWJCnWIAiU6JIWaiA3PrlxX0Zb +MtWRkwDFK1mVze/DV9gxk/01YUcDrzAIOT0qjUcC00fMAsaEfKbwmG9ztr5XCfR2de9 OJgN1QrM+03zBRXSdNkGpvAvhWI8UWt8GS6LJNCArsX9U2+MVJoKOUzFWsSA0FtlGf3k ciY6uIBLgfRwRRTbozsLpvNrhwM+xOdZtmTz1UQOSl8k2U5Ui9a/76wEtMJEDxUU9fks Xa+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1I7MEfGZeAxM/cRLiEccRkbgr02GyF5cRqitsxRn51E=; b=zfyTDq19tet1/S2zYiFMFfHMT7CK2T3H2skE1QfVzw2IcUiiYao2m/C1HgQfXGVFnz i/9agJXS+7S+8MkJ4czPWCjTmishKvTMzvokyvlV5cRcBgS08sdJIg737PuEXb6gztGw 4L+7aSZaMJfky75XwuVlvpjo4u2dgCzbdsO9mN75zT/EhUfcMCSTtW5YDFSHGKTUY2iu KeQ4OBkxZwPKT9K740aSTAqXpFjJVrIHa7KkFl9X3kwdf35QmwCYrCwR9VayBtpHD2iG H/UI9XHHVg8EfTpmCuzOFnlRqNZ4YXvHlZEKW2G6DLAnbiWn6yeKfuEUSu5a7DxY06EO E/Xw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si17894944edf.438.2021.02.02.13.24.14; Tue, 02 Feb 2021 13:24:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231375AbhBBM3G (ORCPT + 99 others); Tue, 2 Feb 2021 07:29:06 -0500 Received: from mail-m17640.qiye.163.com ([59.111.176.40]:45626 "EHLO mail-m17640.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbhBBM3A (ORCPT ); Tue, 2 Feb 2021 07:29:00 -0500 Received: from ubuntu.localdomain (unknown [157.0.31.124]) by mail-m17640.qiye.163.com (Hmail) with ESMTPA id 032F7540228; Tue, 2 Feb 2021 20:27:55 +0800 (CST) From: Bernard Zhao To: Thierry Reding , David Airlie , Daniel Vetter , Jonathan Hunter , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com, Bernard Zhao Subject: [PATCH] drm/tegra: remove unneeded variable: "ret" Date: Tue, 2 Feb 2021 04:27:48 -0800 Message-Id: <20210202122748.15597-1-bernard@vivo.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZS0gfGBgdQhpCH0pIVkpNSklJTUNDTE1JSUxVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hNSlVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MD46ITo4Pj8KHzYIMioDLhAt PAsKCz1VSlVKTUpJSU1DQ0xNTkxMVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlKTkxV S1VISlVKSU9ZV1kIAVlBSkJPQjcG X-HM-Tid: 0a7762b6b183d995kuws032f7540228 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove unneeded variable: "ret". Signed-off-by: Bernard Zhao --- drivers/gpu/drm/tegra/dpaux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c index 105fb9cdbb3b..b8abd55f3ef8 100644 --- a/drivers/gpu/drm/tegra/dpaux.c +++ b/drivers/gpu/drm/tegra/dpaux.c @@ -279,7 +279,6 @@ static void tegra_dpaux_hotplug(struct work_struct *work) static irqreturn_t tegra_dpaux_irq(int irq, void *data) { struct tegra_dpaux *dpaux = data; - irqreturn_t ret = IRQ_HANDLED; u32 value; /* clear interrupts */ @@ -296,7 +295,7 @@ static irqreturn_t tegra_dpaux_irq(int irq, void *data) if (value & DPAUX_INTR_AUX_DONE) complete(&dpaux->complete); - return ret; + return IRQ_HANDLED; } enum tegra_dpaux_functions { -- 2.29.0