mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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>
This commit is contained in:
parent
221e3638fe
commit
cea418863e
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user