Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5383364pxb; Mon, 15 Feb 2021 18:43:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0t5l5yS4inUrJW3v2wy6a/2kNG+MYmnB4leX/XH1AHLBALLRt5CfsZPooEdOZSezdHFjj X-Received: by 2002:a17:906:5446:: with SMTP id d6mr4489703ejp.300.1613443386525; Mon, 15 Feb 2021 18:43:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613443386; cv=none; d=google.com; s=arc-20160816; b=lZm54mWvIJRRC8qv8B5neJLqMt6P1eIjKjHF+pXiMMrviETTI99fPfLkfCE7ibA8f/ 9tEAQK8czmw9P1tL5F3HjXanPCDmsYekKwQ61dav9onx0T/LkMGh4Zadt4lelu2g0gG2 3GebC/0CaueswTShI4VVAnvyKMWU/3bJdHrrZaCkuIy8qoIwWHbtqZ9Us0ZLTMGQPm1H G/7i8NpAvG6ioMKdoTuGWHGqflAo0SvDR9maENIn3TffFsh6mTukc3twM4OhvTZMhZzE 44eFOhDtOD0kvUxnjNMzhQFSM0RsB6RM+2kV70GfG1xHk/bDscWkOHFCZXshMbYJWjjo NhWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=AARYkRayiGFTgZjLdJEzuTfDkzsRTsvYgF8PsXcfCJ4=; b=c6TdAOJlF6htOJCKUTXYZMZSKS2XFN5cyQ2dvasZVTYRCdlbPkQy6A9/cQfO6EDbaZ PZF/pvxichJOU8lKb5nYYv3ry8JDw1F8agmtwxwhDWvYyWavQF+3qAumCWiyFOftPhwg qoaiXIrtd9DuetsdzKUl0MbQo6DM53hYSVxBzD5m0YWUZvYnpo7MNCuQPXmk0B/85/fT 5JsLq0n70WxEuAjjrWStyNSKm8czFRGpWYMOihety7g6moC+Jt5ttWbNZrOwqE11N2zm XbJsdfUnENFU6h0CAW+BHtNEDqzNSOHDluOWQMyhEvQ6fsmRnAslIL0eORlhGS/WzFzI Rt4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=drFmtWNh; 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=163.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si14169775edp.392.2021.02.15.18.42.30; Mon, 15 Feb 2021 18:43:06 -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=@163.com header.s=s110527 header.b=drFmtWNh; 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=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbhBPCkD (ORCPT + 99 others); Mon, 15 Feb 2021 21:40:03 -0500 Received: from m12-16.163.com ([220.181.12.16]:55920 "EHLO m12-16.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbhBPCkC (ORCPT ); Mon, 15 Feb 2021 21:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=AARYkRayiGFTgZjLdJ EzuTfDkzsRTsvYgF8PsXcfCJ4=; b=drFmtWNh40sCp9tfsaZPGxvXvG6sFbf/bC iy9b8LoBWu23omZdqg/w89v+GMJN+McG17HLm9HXuM6tWwNXzruY6/IqLa8leQSG B0CMu20d8WSMhgQ9Io6hdmgDtqOBkoemayU3MCFXB4Wt/SS2P3cxa2oCaRVwyAFN XXFLg7HeU= Received: from localhost.localdomain (unknown [125.70.193.99]) by smtp12 (Coremail) with SMTP id EMCowADnOT7qLytgKjrYcA--.3200S2; Tue, 16 Feb 2021 10:37:33 +0800 (CST) From: Chen Lin To: rjw@rjwysocki.net Cc: lenb@kernel.org, bhelgaas@google.com, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Lin Subject: [PATCH] PCI: hotplug: Remove unused function pointer typedef acpiphp_callback Date: Tue, 16 Feb 2021 10:38:40 +0800 Message-Id: <1613443120-4279-1-git-send-email-chen45464546@163.com> X-Mailer: git-send-email 1.7.9.5 X-CM-TRANSID: EMCowADnOT7qLytgKjrYcA--.3200S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7Jr1UAr4kJr15GF43Wr48JFb_yoWfuFgEgF 1Dtr17Kr15GFnakFn8Jw15ZFyjgay3uFyrWw48tFn3Ar48KrsxC3yUGw45ZF97AryYgF1j y347Xr1vyr97tjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU0LvtJUUUUU== X-Originating-IP: [125.70.193.99] X-CM-SenderInfo: hfkh0kqvuwkkiuw6il2tof0z/xtbBdg47nlUMQAw9iAAAs9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen Lin Remove the 'acpiphp_callback' typedef as it is not used. Signed-off-by: Chen Lin --- 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