public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration
@ 2023-03-23 15:15 Andy Shevchenko
  2023-03-27 10:11 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2023-03-23 15:15 UTC (permalink / raw)
  To: Andy Shevchenko, linux-acpi, linux-kernel
  Cc: Daniel Scally, Heikki Krogerus, Sakari Ailus

There is no users in the property.h for the struct net_device.
Remove the latter for good.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/property.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/property.h b/include/linux/property.h
index ee9cc1710d82..1dff38e930fc 100644
--- a/include/linux/property.h
+++ b/include/linux/property.h
@@ -16,7 +16,6 @@
 #include <linux/types.h>
 
 struct device;
-struct net_device;
 
 enum dev_prop_type {
 	DEV_PROP_U8,
-- 
2.40.0.1.gaa8946217a0b


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

* Re: [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration
  2023-03-23 15:15 [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration Andy Shevchenko
@ 2023-03-27 10:11 ` Andy Shevchenko
  2023-03-27 11:48   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2023-03-27 10:11 UTC (permalink / raw)
  To: linux-acpi, linux-kernel, Greg Kroah-Hartman, Rafael J. Wysocki
  Cc: Daniel Scally, Heikki Krogerus, Sakari Ailus

On Thu, Mar 23, 2023 at 05:15:19PM +0200, Andy Shevchenko wrote:
> There is no users in the property.h for the struct net_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"?

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  include/linux/property.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/property.h b/include/linux/property.h
> index ee9cc1710d82..1dff38e930fc 100644
> --- a/include/linux/property.h
> +++ b/include/linux/property.h
> @@ -16,7 +16,6 @@
>  #include <linux/types.h>
>  
>  struct device;
> -struct net_device;
>  
>  enum dev_prop_type {
>  	DEV_PROP_U8,

-- 
With Best Regards,
Andy Shevchenko



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

* Re: [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration
  2023-03-27 10:11 ` Andy Shevchenko
@ 2023-03-27 11:48   ` Greg Kroah-Hartman
  2023-03-27 13:02     ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2023-03-27 11:48 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-acpi, linux-kernel, Rafael J. Wysocki, Daniel Scally,
	Heikki Krogerus, Sakari Ailus

On Mon, Mar 27, 2023 at 01:11:20PM +0300, Andy Shevchenko wrote:
> On Thu, Mar 23, 2023 at 05:15:19PM +0200, Andy Shevchenko wrote:
> > There is no users in the property.h for the struct net_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.

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

* Re: [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration
  2023-03-27 11:48   ` Greg Kroah-Hartman
@ 2023-03-27 13:02     ` Andy Shevchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2023-03-27 13:02 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-acpi, linux-kernel, Rafael J. Wysocki, Daniel Scally,
	Heikki Krogerus, Sakari Ailus

On Mon, Mar 27, 2023 at 01:48:21PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Mar 27, 2023 at 01:11:20PM +0300, Andy Shevchenko wrote:
> > On Thu, Mar 23, 2023 at 05:15:19PM +0200, Andy Shevchenko wrote:
> > > There is no users in the property.h for the struct net_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.

-- 
With Best Regards,
Andy Shevchenko



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

end of thread, other threads:[~2023-03-27 13:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23 15:15 [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration Andy Shevchenko
2023-03-27 10:11 ` Andy Shevchenko
2023-03-27 11:48   ` Greg Kroah-Hartman
2023-03-27 13:02     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox