Re: First pass at janitorial kernel cleanup scripts

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

 



On Mon, Jun 30, 2025 at 04:43:38PM -0400, Robert P. J. Day wrote:
> > >   - are there header files that are never included anymore?
> >
> > That's a good idea.
> 
>   I have a script that tracks down exactly that sort of thing. I'm
> just cleaning that up now. There seems to still be a fair bit of that.
> As a representative example, there is a header file in the kernel
> source tree:
> 
>   ./sound/soc/amd/include/acp_2_2_enum.h
> 
> Does anything include it? Nope:
> 
>   $ grep -r acp_2_2_enum.h *
>   $
> 
> So my scripts still identify plenty of potential cleanup.

Yeah...  acp_2_2_enum.h was never used.  But AMD is the company I was
thinking about which does some of these things to work around
complications with legal.  There is a probably a reason for the header
file to exist.

I feel like we have to tie this with a commit the removed the last user.

regards,
dan carpenter





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux