Commit 3afaff7a authored by Akhilesh Patil's avatar Akhilesh Patil Committed by Gabriele Monaco
Browse files

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: 24cbfe18 ("rv: Merge struct rv_monitor_def into struct rv_monitor") [1]
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202507312017.oyD08TL5-lkp@intel.com/


Signed-off-by: default avatarAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Reviewed-by: default avatarGabriele Monaco <gmonaco@redhat.com>
Link: https://lore.kernel.org/r/aJneRbHGlNFg7lr9@bhairav-test.ee.iitb.ac.in


Signed-off-by: default avatarGabriele Monaco <gmonaco@redhat.com>
parent de090d1c
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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.