Re: should include/uapi include header files *unused* in kernel space?

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

 



On Sun, Jan 22, 2017 at 6:18 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>
>   was perusing the UAPI content in the kernel source, prepping for a
> course i'm teaching tomorrow, and just noticed there is a header file:
>
>   $ find . -name mtd-user.h
>   ./include/uapi/mtd/mtd-user.h
>   $
>
> which appears to be *entirely* unreferenced in the entire kernel code
> base (outside of the Kbuild file that refers to it):
>
>   $ grep -r 'mtd-user.h' *
>   include/uapi/mtd/Kbuild:header-y += mtd-user.h
>   $

Someone has a patch to remove msr-index.h which, in a similar way,
only ended up being exported because of a Kbuild rule.  So I'd imagine
this file would be a candidate for a similar patch.
https://lkml.org/lkml/2017/2/2/228.


-- 
Jim

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux