Skip to content

Commit

Permalink
drm/tegra: dpaux: Remove unneeded variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
chiminghao authored and Thierry Reding committed Feb 25, 2022
1 parent 221e363 commit cea4188
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/tegra/dpaux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 {
Expand Down

0 comments on commit cea4188

Please sign in to comment.