linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lib/vsprintf: remove redundant header files
@ 2025-08-19 13:13 Liao Yuanhong
  2025-08-19 13:37 ` Miguel Ojeda
  2025-08-19 15:38 ` Markus Elfring
  0 siblings, 2 replies; 6+ messages in thread
From: Liao Yuanhong @ 2025-08-19 13:13 UTC (permalink / raw)
  To: Petr Mladek, Harry Yoo, Kees Cook, Sergio Perez Gonzalez,
	Miguel Ojeda, Stephen Rothwell, Alice Ryhl, Dmitry Torokhov,
	Andrew Morton, open list
  Cc: Liao Yuanhong

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@vivo.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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-20  1:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 13:13 [PATCH] lib/vsprintf: remove redundant header files Liao Yuanhong
2025-08-19 13:37 ` Miguel Ojeda
2025-08-19 14:18   ` Liao Yuanhong
2025-08-19 14:40     ` Miguel Ojeda
2025-08-20  1:36   ` Stephen Rothwell
2025-08-19 15:38 ` Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).