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

From: Greg Kroah-Hartman
Date: Wed Nov 22 2017 - 11:58:29 EST


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! :)