Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Christophe JAILLET <> | Subject | [PATCH] fs/dcache: Remove unneeded math.h and rculist.h includes | Date | Sun, 8 Jan 2023 13:32:52 +0100 |
| |
<linux/math.h> and <linux/rculist.h> are not used by <linux/dcache.h>. Remove them.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> --- I've built: arch/mips (cross-built) arch/powerpc (cross-built) drivers/crypto/caam/ drivers/gpu/drm/msm/ drivers/infiniband/hw/hfi1/ drivers/net/ethernet/amd/xgbe/ drivers/net/ethernet/freescale/dpaa2/ drivers/net/wireless/marvell/libertas/debugfs.o drivers/s390/cio/ccwgroup.o (cross-built) drivers/usb/gadget/function/f_mass_storage.o fs/ kernel/events/core.o kernel/sysctl.o lib/ net/unix/af_unix.o security/
Let see if build-bots spot something I've missed. --- include/linux/dcache.h | 2 -- 1 file changed, 2 deletions(-)
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 6b351e009f59..c4db829d48cf 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -4,8 +4,6 @@ #include <linux/atomic.h> #include <linux/list.h> -#include <linux/math.h> -#include <linux/rculist.h> #include <linux/rculist_bl.h> #include <linux/spinlock.h> #include <linux/seqlock.h> -- 2.34.1
| ![\](/images/icornerr.gif) |