Commit cea41886 authored by chiminghao's avatar chiminghao Committed by Thierry Reding

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: default avatarZeal Robot <zealci@zte.com.cm>
Signed-off-by: default avatarchiminghao <chi.minghao@zte.com.cn>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 221e3638
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment