Re: [PATCH v2 3/7] remoteproc: core: Removed unused headers

Andrew Davis
2025-10-11T00:26:28Z

On 10/10/25 7:24 AM, Peng Fan wrote:
> There is no user of crc32.h, debugfs.h, of_reserved_mem.h, virtio_ids.h,
> so remove from the included headers.
>
> No functional changes.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---

Acked-by: Andrew Davis <afd@ti.com>

> drivers/remoteproc/remoteproc_core.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
> index f7d21e99d171667d925de769db003c4e13fe8fe8..8004a480348378abef78ad5641a8c8b5766c20a6 100644
> --- a/drivers/remoteproc/remoteproc_core.c
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -17,8 +17,6 @@
> #define pr_fmt(fmt) "%s: " fmt, __func__
>
> #include <asm/byteorder.h>
> -#include <linux/crc32.h>
> -#include <linux/debugfs.h>
> #include <linux/delay.h>
> #include <linux/device.h>
> #include <linux/dma-mapping.h>
> @@ -30,14 +28,12 @@
> #include <linux/module.h>
> #include <linux/mutex.h>
> #include <linux/of_platform.h>
> -#include <linux/of_reserved_mem.h>
> #include <linux/panic_notifier.h>
> #include <linux/platform_device.h>
> #include <linux/rculist.h>
> #include <linux/remoteproc.h>
> #include <linux/slab.h>
> #include <linux/string.h>
> -#include <linux/virtio_ids.h>
> #include <linux/virtio_ring.h>
>
> #include "remoteproc_internal.h"
>