Skip to content

Commit 3afaff7

Browse files
Akhilesh Patilglemco
authored andcommitted
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: 24cbfe1 ("rv: Merge struct rv_monitor_def into struct rv_monitor") [1] Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Akhilesh Patil <[email protected]> Reviewed-by: Gabriele Monaco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Gabriele Monaco <[email protected]>
1 parent de090d1 commit 3afaff7

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

include/linux/rv.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@
77
#ifndef _LINUX_RV_H
88
#define _LINUX_RV_H
99

10-
#include <linux/types.h>
11-
#include <linux/list.h>
12-
1310
#define MAX_DA_NAME_LEN 32
1411
#define MAX_DA_RETRY_RACING_EVENTS 3
1512

1613
#ifdef CONFIG_RV
14+
#include <linux/array_size.h>
1715
#include <linux/bitops.h>
16+
#include <linux/list.h>
1817
#include <linux/types.h>
19-
#include <linux/array_size.h>
2018

2119
/*
2220
* Deterministic automaton per-object variables.

0 commit comments

Comments
 (0)