diff mbox series

[v2,2/2] device property: Remove unused struct net_device forward declaration

Message ID 20230327130150.84114-2-andriy.shevchenko@linux.intel.com
State Accepted
Commit 579d472b379983498a6a7d9f7b1dd74c20afdc50
Headers show
Series [v2,1/2] device property: Add headers to the Driver Core entry in MAINTAINERS | expand

Commit Message

Andy Shevchenko March 27, 2023, 1:01 p.m. UTC
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>
---
v2: no changes (just Cc'ed accordingly)
 include/linux/property.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Rafael J. Wysocki March 27, 2023, 2:45 p.m. UTC | #1
On Mon, Mar 27, 2023 at 3:02 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> 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>

Acked-by: Rafael J. Wysocki <rafael@kernel.org>

> ---
> v2: no changes (just Cc'ed accordingly)
>  include/linux/property.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/property.h b/include/linux/property.h
> index 4a536548606b..59f452198c64 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
>
diff mbox series

Patch

diff --git a/include/linux/property.h b/include/linux/property.h
index 4a536548606b..59f452198c64 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,