summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAkhilesh Patil <akhilesh@ee.iitb.ac.in>2025-08-11 15:12:53 +0300
committerGabriele Monaco <gmonaco@redhat.com>2025-09-15 09:36:35 +0300
commit3afaff7a0ce97457c8ab46862f2c06603a89962e (patch)
treedc5971ac7d06bbe7c9e497ef2f26de77a40861dd /include/linux
parentde090d1ccae1e191af4beb92964591c6e4f31f28 (diff)
downloadlinux-3afaff7a0ce97457c8ab46862f2c06603a89962e.tar.xz
include/linux/rv.h: remove redundant include file
Remove redundant include <linux/types.h> to clean up the code. Move all unique include files inside CONFIG_RV as they are only needed when CONFIG_RV is enabled. Arrange include files alphabetically. Fixes: 24cbfe18d55a ("rv: Merge struct rv_monitor_def into struct rv_monitor") [1] Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/r/202507312017.oyD08TL5-lkp@intel.com/ Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in> Reviewed-by: Gabriele Monaco <gmonaco@redhat.com> Link: https://lore.kernel.org/r/aJneRbHGlNFg7lr9@bhairav-test.ee.iitb.ac.in Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/rv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/rv.h b/include/linux/rv.h
index 14410a42faef..9520aab34bcb 100644
--- a/include/linux/rv.h
+++ b/include/linux/rv.h
@@ -7,16 +7,14 @@
#ifndef _LINUX_RV_H
#define _LINUX_RV_H
-#include <linux/types.h>
-#include <linux/list.h>
-
#define MAX_DA_NAME_LEN 32
#define MAX_DA_RETRY_RACING_EVENTS 3
#ifdef CONFIG_RV
+#include <linux/array_size.h>
#include <linux/bitops.h>
+#include <linux/list.h>
#include <linux/types.h>
-#include <linux/array_size.h>
/*
* Deterministic automaton per-object variables.