Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: ipu-v3: Remove unused ipu_vdi_unsetup

ipu_vdi_unsetup() was added in 2016 by
commit 2d2ead453077 ("gpu: ipu-v3: Add Video Deinterlacer unit")
but has remained unused.

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241226022752.219399-6-linux@treblig.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Dr. David Alan Gilbert and committed by
Dmitry Baryshkov
27985c86 96e9d754

-12
-11
drivers/gpu/ipu-v3/ipu-vdi.c
··· 150 150 } 151 151 EXPORT_SYMBOL_GPL(ipu_vdi_setup); 152 152 153 - void ipu_vdi_unsetup(struct ipu_vdi *vdi) 154 - { 155 - unsigned long flags; 156 - 157 - spin_lock_irqsave(&vdi->lock, flags); 158 - ipu_vdi_write(vdi, 0, VDI_FSIZE); 159 - ipu_vdi_write(vdi, 0, VDI_C); 160 - spin_unlock_irqrestore(&vdi->lock, flags); 161 - } 162 - EXPORT_SYMBOL_GPL(ipu_vdi_unsetup); 163 - 164 153 int ipu_vdi_enable(struct ipu_vdi *vdi) 165 154 { 166 155 unsigned long flags;
-1
include/video/imx-ipu-v3.h
··· 463 463 void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field); 464 464 void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel); 465 465 void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres); 466 - void ipu_vdi_unsetup(struct ipu_vdi *vdi); 467 466 int ipu_vdi_enable(struct ipu_vdi *vdi); 468 467 int ipu_vdi_disable(struct ipu_vdi *vdi); 469 468 struct ipu_vdi *ipu_vdi_get(struct ipu_soc *ipu);