Thread (3 messages) 3 messages, 3 authors, 2021-09-29

Re: [PATCH -next] usb: core: Remove unused including <linux/version.h>

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-01-27 00:35:20
Also in: lkml

On Mon, Jan 25, 2021 at 08:44:48PM +0800, Zou Wei wrote:
quoted hunk ↗ jump to hunk
Fix the following versioncheck warning:

drivers/usb/core/hcd.c:14:1: unused including <linux/version.h>

Reported-by: Hulk Robot <redacted>
Signed-off-by: Zou Wei <redacted>
---
 drivers/usb/core/hcd.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 3f03813..53bc93d 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -11,7 +11,6 @@
 
 #include <linux/bcd.h>
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/sched/task_stack.h>
 #include <linux/slab.h>
You didn't test this patch, why???

{sigh}

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help