device property: Remove unused struct net_device forward declaration
Subsystems (3)
Andy Shevchenko
reviewerPATCH 1/1 device property: Remove unused struct net_device forward declaration
There is no users in the property.h for the struct net_device. Remove the latter for good.
--- include/linux/property.h | 1 - 1 file changed, 1 deletion(-)
include/linux/property.h +0 -1
@@ -16,7 +16,6 @@#include <linux/types.h> struct device ; -struct net_device ;enum dev_prop_type {DEV_PROP_U8 ,
Signature · 1 line
2.40.0.1.gaa8946217a0b
Andy Shevchenko
reviewerQuoted 2 lines · Andy Shevchenko
There is no users in the
property.hfor the structnet_device. Remove the latter for good.
Oh, this seems unfortunate as it doesn't Cc Greg. Folks, shall we add the header to "DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS"?
Quoted 17 lines
Signed-off-by Andy Shevchenko <[email protected]>--- include/linux/property.h | 1 - 1 file changed, 1 deletion(-)include/linux/property.h +0
-1@@ -16,7 +16,6 @@#include <linux/types.h> struct device ; -struct net_device ;enum dev_prop_type {DEV_PROP_U8 ,
Signature · 2 lines
With Best Regards, Andy Shevchenko
Greg Kroah-Hartman
maintainerQuoted 6 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko
There is no users in the
property.hfor the structnet_device. Remove the latter for good.Oh, this seems unfortunate as it doesn't Cc Greg. Folks, shall we add the header to "DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS"?
Yes please.
Andy Shevchenko
reviewerQuoted 9 lines · Greg Kroah-Hartman
Quoted 6 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko
There is no users in the
property.hfor the structnet_device. Remove the latter for good.Oh, this seems unfortunate as it doesn't Cc Greg. Folks, shall we add the header to "DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS"?
Yes please.
Done as v2 with this patch also resent there.
Signature · 2 lines
With Best Regards, Andy Shevchenko