diff options
author | chiminghao <chi.minghao@zte.com.cn> | 2021-11-12 03:21:02 +0000 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-02-25 14:47:51 +0100 |
commit | cea418863e968e086cf68b052da86b0707690ebc (patch) | |
tree | 97acfc1217ca91ee178a48991902fe96d7558e74 | |
parent | 221e3638feb8bc42143833c9a704fa89b6c366bb (diff) | |
download | lwn-cea418863e968e086cf68b052da86b0707690ebc.tar.gz lwn-cea418863e968e086cf68b052da86b0707690ebc.zip |
drm/tegra: dpaux: Remove unneeded variable
Fix the following coccicheck REVIEW:
./drivers/gpu/drm/tegra/dpaux.c:282:13-16 REVIEW Unneeded variable
Reported-by: Zeal Robot <zealci@zte.com.cm>
Signed-off-by: chiminghao <chi.minghao@zte.com.cn>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/gpu/drm/tegra/dpaux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c index d7a731d287d2..ac3a18635ab1 100644 --- a/drivers/gpu/drm/tegra/dpaux.c +++ b/drivers/gpu/drm/tegra/dpaux.c @@ -280,7 +280,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 */ @@ -297,7 +296,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 { |