Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5390910pxb; Mon, 15 Feb 2021 19:02:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRMoqKXr21YQje22tWI6SMpga01zk2l8vd147kFEoXgpAT9WGRFeLSSCWE1K+DJcHFnYSJ X-Received: by 2002:a17:906:3456:: with SMTP id d22mr8116398ejb.115.1613444559802; Mon, 15 Feb 2021 19:02:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613444559; cv=none; d=google.com; s=arc-20160816; b=LWin8+dCUg+v08vJ1KmQE4FMqybxuriAztmKi2yp5fa3aqJWiWgEy1yLADKmxpaUM9 01uVAhLvB6FP/AvU75RUpnBUGYUngu8NMJhiimGS586/1UQ7D9vRgG4QxmL9hTYbwYXx OuQyTQx3vmdRXTwoIhxqEdmX+oWtKDHurEBugmXp94Pif9JaVdfl8JdgQnHgaB8+dlvw sKKAz8YA2W1xyfJwJXXltJZAFLF4dmo+wO844k4XcNxUKrddFmk+Q1+aZgB5Ou8N8tht vTctd5AZ7JuVOsIs1ExojJV7rN64NLW/z4mkflfwej/Nmkn61s/8Z6jO3PTW54QbduME tEcg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hAaExniY8eD12XfJrRZgauVsXLQgbU0LNTK/CxUaGD0=; b=VkLb2kIcSVeJgbE8v/8uPtgPSXJyB3qTJvSXmsc4ecWqrpj6fnXCKwwGJKIaZpSEaA qPwQ9NSlTQovFJsHf8ohsoeL3xNjN7UuaMsC/VVZ/nbr49/Duu1UIDkhcFgo5mZye+ks ZIrHJPaPW6QdlR8YJkkLRaWy7wu+prR95hLN/2wu23GE9Y/bCYDGt2ustr/3BXOTUeej S00bP7vFI5EJJxc5hFpuNTwAQotW9S/Ch+Khqhrq6EAeCjQ81CH2BSVY98qyHW3Kd990 ghtvTA2t0z10gHkZ6ASc+NlZmJ7I4ivSiWF4+87XRUoSwsiAsaYoVTm541jusVfa0Qxe alpw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b67si14249260edf.215.2021.02.15.19.02.16; Mon, 15 Feb 2021 19:02:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbhBPDBa (ORCPT + 99 others); Mon, 15 Feb 2021 22:01:30 -0500 Received: from mail-lf1-f41.google.com ([209.85.167.41]:41454 "EHLO mail-lf1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbhBPDB3 (ORCPT ); Mon, 15 Feb 2021 22:01:29 -0500 Received: by mail-lf1-f41.google.com with SMTP id d24so13605112lfs.8; Mon, 15 Feb 2021 19:01:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=hAaExniY8eD12XfJrRZgauVsXLQgbU0LNTK/CxUaGD0=; b=p2H9nbhToYeTGyCkc0TVm11apr24pZc2N48go0T9gxTY5nogKNPDCCzCYcKm47R0/6 bXbf8g3hvV8w0nAhLOOqxcH3UBuD07JwS4RYBYPEuwSo/zRGWRvDC4yMazdWul+ETbwB 0NS3gubGy2z8+ohCJ8zOpSAGB/dGkopiiOg30shZILY3k2qYCm0vRfBFNY1GRp51QAn6 lkZKgEa8XxyTsKqztR+wIYvoPVarUE3AudpOZ5MzSsOtwpbuZ4J0lwuJNiKJ53g2yOMD 3SsmcPNYVv75qVjmSQjM0/tVtF+l0B9MdiFZmusUkmnI0+VDvkc8BBU2fHZMQW8kBwZg Gdtg== X-Gm-Message-State: AOAM532U1YSWyeiFIpkEfdKYVuYU0+HmrUA5vewB5WQo9jgt11DJT/xE bDKJARC7a6TpMSNLAaLSs+k= X-Received: by 2002:a19:8186:: with SMTP id c128mr10274693lfd.377.1613444446773; Mon, 15 Feb 2021 19:00:46 -0800 (PST) Received: from rocinante ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id u4sm2055765lfi.255.2021.02.15.19.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 19:00:46 -0800 (PST) Date: Tue, 16 Feb 2021 04:00:45 +0100 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Chen Lin Cc: rjw@rjwysocki.net, lenb@kernel.org, helgaas@kernel.org, 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: References: <1613443120-4279-1-git-send-email-chen45464546@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1613443120-4279-1-git-send-email-chen45464546@163.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chen, > Remove the 'acpiphp_callback' typedef as it is not used. [...] Good catch! This typedef was initially added in 2005, and then it stopped being used around the Kernel version 3.7 release, which is also when the sole user of this typedef called acpiphp_for_each_slot() has also been retired. Reviewed-by: Krzysztof WilczyƄski Krzysztof