Re: [PATCH] media: atomisp: Remove unused ISP vmem load/store functions
From: Andy Shevchenko
Date: Mon Nov 23 2026 - 06:21:43 EST
On Sun, Nov 22, 2026 at 07:45:52AM +0000, Avishek Chaulagain wrote:
>
> isp_vmem_load(), isp_vmem_store(), isp_vmem_2d_load() and
> isp_vmem_2d_store() are the only external functions provided by
> vmem.c, and none of them has a caller anywhere in the tree. Every
> other function in the file (load_vector()/store_vector() and the
> hive_sim_wide pack/unpack helpers) exists solely to implement those
> four, so the whole translation unit is dead.
>
> Remove vmem.c along with its Makefile entry and the four prototypes
> in vmem_local.h. The t_vmem_elem/t_svmem_elem typedefs and the
> VMEM_ARRAY/SVMEM_ARRAY macros in that header are used elsewhere and
> are kept.
Looks legit, if it compiles,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko