usb: hcd: remove unused including <linux/version.h>
PATCH 1/1 usb: hcd: remove unused including <linux/version.h>
Remove including <linux/version.h> that don't need it.
--- drivers/usb/core/hcd.c | 1 - 1 file changed, 1 deletion(-)
drivers/usb/core/hcd.c +0 -1
@@ -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>
Signature · 1 line
2.7.4
Greg KH
maintainerQuoted 12 lines · Tian Tao
Remove including <
linux/version.h> that don't need it.Signed-off-by Tian Tao <[email protected]>--- drivers/usb/core/hcd.c | 1 - 1 file changed, 1 deletion(-)drivers/usb/core/hcd.c +0
-0
drivers/usb/core/hcd.c line 16
Quoted 7 lines
drivers/usb/core/hcd.c +0
-1@@ -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 obviously did not even test-build this patch, which is very odd when submitting something to the community. Why did you not do this?
This file _DOES_ need this .h file, whatever tool you are using to detect this is completely broken. Please fix it and be more careful before sending new patches.
thanks,
greg k-h
Quoted 23 lines · Greg KH
Quoted 12 lines · Tian Tao
Remove including <
linux/version.h> that don't need it.Signed-off-by Tian Tao <[email protected]>--- drivers/usb/core/hcd.c | 1 - 1 file changed, 1 deletion(-)drivers/usb/core/hcd.c +0
-0drivers/usb/core/hcd.c line 16
Quoted 7 lines
drivers/usb/core/hcd.c +0
-1@@ -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 obviously did not even test-build this patch, which is very odd when submitting something to the community. Why did you not do this?
Quoted 3 lines
This file _DOES_ need this .h file, whatever tool you are using to detect this is completely broken. Please fix it and be more careful before sending new patches.
this is reported by command “make versioncheck”
Quoted 5 lines
thanks,
greg k-h
.
Greg KH
maintainerQuoted 24 lines · tiantao (H)
Quoted 22 lines · Greg KH
Quoted 12 lines · Tian Tao
Remove including <
linux/version.h> that don't need it.Signed-off-by Tian Tao <[email protected]>--- drivers/usb/core/hcd.c | 1 - 1 file changed, 1 deletion(-)drivers/usb/core/hcd.c +0
-0drivers/usb/core/hcd.c line 15
Quoted 6 lines
drivers/usb/core/hcd.c +0
-1@@ -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 obviously did not even test-build this patch, which is very odd when submitting something to the community. Why did you not do this?
Quoted 4 lines
Quoted 3 lines
This file _DOES_ need this .h file, whatever tool you are using to detect this is completely broken. Please fix it and be more careful before sending new patches.
this is reported by command “make versioncheck”
Then the tool is broken. Why did you not test-build your change before sending it? Did you read the checklist of "what to do before sending a patch" that we have in our documentation? If not, please do so.
thanks,
greg k-h