[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250819131330.153128-1-liaoyuanhong@vivo.com>
Date: Tue, 19 Aug 2025 21:13:27 +0800
From: Liao Yuanhong <liaoyuanhong@...o.com>
To: Petr Mladek <pmladek@...e.com>,
Harry Yoo <harry.yoo@...cle.com>,
Kees Cook <kees@...nel.org>,
Sergio Perez Gonzalez <sperezglz@...il.com>,
Miguel Ojeda <ojeda@...nel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Alice Ryhl <aliceryhl@...gle.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org (open list)
Cc: Liao Yuanhong <liaoyuanhong@...o.com>
Subject: [PATCH] lib/vsprintf: remove redundant header files
The header file <linux/stdarg.h> is already included on line 6. Remove the
redundant include.
Fixes: 0dec7201788b9 ("sprintf.h requires stdarg.h")
Signed-off-by: Liao Yuanhong <liaoyuanhong@...o.com>
---
include/linux/sprintf.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/sprintf.h b/include/linux/sprintf.h
index 8cb32b777d0b..e57a6d6fbd93 100644
--- a/include/linux/sprintf.h
+++ b/include/linux/sprintf.h
@@ -5,7 +5,6 @@
#include <linux/compiler_attributes.h>
#include <linux/stdarg.h>
#include <linux/types.h>
-#include <linux/stdarg.h>
int num_to_str(char *buf, int size, unsigned long long num, unsigned int width);
--
2.34.1
Powered by blists - more mailing lists