From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751911AbdKVQ61 (ORCPT ); Wed, 22 Nov 2017 11:58:27 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39070 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbdKVQ60 (ORCPT ); Wed, 22 Nov 2017 11:58:26 -0500 Date: Wed, 22 Nov 2017 17:58:29 +0100 From: Greg Kroah-Hartman To: Sinan Kaya Cc: linux-pci@vger.kernel.org, timur@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Philippe Ombredanne , Kate Stewart , Thomas Gleixner , open list Subject: Re: [PATCH 29/30] i7300_idle: deprecate pci_get_bus_and_slot() Message-ID: <20171122165829.GA2651@kroah.com> References: <1511328675-21981-1-git-send-email-okaya@codeaurora.org> <1511328675-21981-30-git-send-email-okaya@codeaurora.org> <20171122075345.GC26583@kroah.com> <81de37c1-26b5-41f7-ab32-b98012890971@codeaurora.org> <20171122164546.GB30812@kroah.com> <3cca8693-72bf-db72-f698-f111c9ef707c@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3cca8693-72bf-db72-f698-f111c9ef707c@codeaurora.org> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! :)