[PATCH v1 3/4] lib/vsprintf: Remove implied inclusions
From: Andy Shevchenko
Date: Fri Aug 04 2023 - 04:26:58 EST
Remove inclusions that are implied and guaranteed to be provided by others:
compiler.h by types.h
string.hi by string_helpers.h
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
lib/vsprintf.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 63afffab4249..eb0934d02722 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -20,7 +20,6 @@
#include <linux/build_bug.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
-#include <linux/compiler.h>
#include <linux/cred.h>
#include <linux/ctype.h>
#include <linux/dcache.h>
@@ -36,7 +35,6 @@
#include <linux/rtc.h>
#include <linux/siphash.h>
#include <linux/stdarg.h>
-#include <linux/string.h>
#include <linux/string_helpers.h>
#include <linux/time.h>
#include <linux/types.h>
--
2.40.0.1.gaa8946217a0b