Re: [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> ---
>  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





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux