drivers:gpu: remove unneeded variable
PATCH 1/1 drivers:gpu: remove unneeded variable
From: chiminghao <[email protected]>
Fix the following coccicheck REVIEW:
./drivers/gpu/drm/tegra/dpaux.c:282:13-16 REVIEW Unneeded variable
Reported-by Zeal Robot <[email protected]>
Signed-off-by chiminghao <[email protected]>
--- drivers/gpu/drm/tegra/dpaux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/tegra/dpaux.c +1 -2
@@ -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 {
Signature · 1 line
2.25.1