[PATCH 29/30] i7300_idle: deprecate pci_get_bus_and_slot()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Nov 22 08:58:29 PST 2017


On Wed, Nov 22, 2017 at 11:50:53AM -0500, Sinan Kaya wrote:
> On 11/22/2017 11:45 AM, Greg Kroah-Hartman wrote:
> >> Funny thing is nobody is calling this function. Maybe, I should just kill it
> >> instead.
> > Yes, delete it.  Why doesn't the build warn about it not being used?
> > 
> 
> OK. Because it is in a header file that nobody includes.

Even better, just delete the whole file!  :)



More information about the linux-arm-kernel mailing list