Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7625975pxb; Thu, 18 Feb 2021 15:36:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyodtwrTgepmSZFD94nS1P6EzaQgspcJeiVqqEuFDYNa28eDg9mXeQQEd6rCeyqWk5P5xp1 X-Received: by 2002:a17:906:b50:: with SMTP id v16mr1696179ejg.434.1613691418391; Thu, 18 Feb 2021 15:36:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613691418; cv=none; d=google.com; s=arc-20160816; b=tbjJIC5VgLUNdi2p5Bae15fhHSjSjlmzt8ESO9FjzANmYAXyTwFxGCGMTY5tA7wN2Z BAhTdDcxWu7c9LLkzYniIyRFCwyv+9ZPPhq3rWfepgnnASk8VKYO/ZkismUIabI2geDe s2MhlBPslMXbzMx2/4pL1LaeNvn5cw/jIvZf/BSsZF8efCI4nTUCgtzvYjTChyhv/e6+ rIzMgvNWFFqdHrXbU+28QU2LlGjrFo0B0g3paQCf2HeMC6/+SjaPj3lftdpfxgCyo1MN tzW3C7T1BABnV337Xth/DEiHR3LUFN9d+JBfR4ctu+4fKqoFIoTEHJ7yrNReNUAZVfeO DuUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=fzjqkzXKeENeqIRtuo1IBKS0bU5HfJ6utKdPAdXCz1Y=; b=g6lvQFQNRqY1yclB3AY/Y5l2rWOWBSuYRIEJLeFfoFzUh1Vkma7vZN1kPDjhEXp62g RBhn+jHJqEjUJPmUrQhUAFW8Azbt+pte7yHz35bmin0IuNhruIWhlFdTm+tTgI5mxLwB Rd+pItIcD0WCBP3xirrQ1q+KcnUN/V0XGi+3F+xswAbdS/gsg/pBvrLELbfWPtMPHVrK Ot+/3OWeVug1xzeuCGBiOkkI1lsWHdQWcjA+GZ4JLKGx8ziAJrGf1IC+8RXfvHKcGecl YRoaPZ+rNukpsCtj/TDiqAwyh6JNmfNsV3nAcSrmk9lRx15XunIeB6U7FGdO8/gdzjKQ MX3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYS30Cvj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p62si4460582edp.242.2021.02.18.15.36.34; Thu, 18 Feb 2021 15:36:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYS30Cvj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229784AbhBRXd5 (ORCPT + 99 others); Thu, 18 Feb 2021 18:33:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:57732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbhBRXd4 (ORCPT ); Thu, 18 Feb 2021 18:33:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B9DF864EB8; Thu, 18 Feb 2021 23:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613691195; bh=r8wYBiYSc8JSSVKz0juViq5OtE+nP++D7BABD8XUIy8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=sYS30CvjUMSK7xvw4uT46NXq3SlilX5C2MHK4KSfbX3JCszqLGQb5S6ZV8L4yyQM+ NKrANau0TZlIYgCc3cueJ1H1tC995BaeG9GObY1ufNWPUzKLciJ1ibnFkP8/UVwbHJ Tldod2usSqdtowmwB+LhBDbMxKPYpWJr7sOOZ0Ja5uU/32b0DfN4Q1WiYg1wsxeHOu kIaT+3LDFwyTxs+20R8Vh9RSDhUpEiAka7ehcMv3oESA51PnGgWkT3OUkCx4ojPzX+ nCUioPmWTPi5hu3ea3udPuYO53F3ZRZeB1LVmYKaIysJjDzBypH72aToD1phqC0iqE 8d4mQMuurLRvw== Date: Thu, 18 Feb 2021 17:33:13 -0600 From: Bjorn Helgaas To: Chen Lin Cc: rjw@rjwysocki.net, lenb@kernel.org, bhelgaas@google.com, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Lin Subject: Re: [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback Message-ID: <20210218233313.GA1147787@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1613443120-4279-1-git-send-email-chen45464546@163.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 16, 2021 at 10:38:40AM +0800, Chen Lin wrote: > From: Chen Lin > > Remove the 'acpiphp_callback' typedef as it is not used. > > Signed-off-by: Chen Lin Applied to pci/hotplug for v5.12, thanks! > --- > drivers/pci/hotplug/acpiphp.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h > index a2094c0..a74b274 100644 > --- a/drivers/pci/hotplug/acpiphp.h > +++ b/drivers/pci/hotplug/acpiphp.h > @@ -176,9 +176,6 @@ struct acpiphp_attention_info > int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot, unsigned int sun); > void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot); > > -/* acpiphp_glue.c */ > -typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); > - > int acpiphp_enable_slot(struct acpiphp_slot *slot); > int acpiphp_disable_slot(struct acpiphp_slot *slot); > u8 acpiphp_get_power_status(struct acpiphp_slot *slot); > -- > 1.7.9.5 > >