[PATCH 0/3] PCI: SHPC: removed unused get_mode1_ECC_cap callback

Ian Cowan posted 3 patches 3 years, 5 months ago
drivers/pci/hotplug/TODO         |  3 ---
drivers/pci/hotplug/shpchp.h     |  1 -
drivers/pci/hotplug/shpchp_hpc.c | 18 ------------------
3 files changed, 22 deletions(-)
[PATCH 0/3] PCI: SHPC: removed unused get_mode1_ECC_cap callback
Posted by Ian Cowan 3 years, 5 months ago
In the SHPC module, the get_mode1_ECC_cap callback is never used from
the hpc_ops struct, so this patch series removes that callback from both the
definition of the struct and the definition of the shpchp_hps_ops
struct. Additionally, this removes the reference in the TODO of the SHPC
module.

Ian Cowan (3):
  PCI: SHPC: remove unused get_mode1_ECC_cap callback declaration
  PCI: SHPC: remove unused get_mode1_ECC_cap callback from definition
  PCI: SHPC: update todo

 drivers/pci/hotplug/TODO         |  3 ---
 drivers/pci/hotplug/shpchp.h     |  1 -
 drivers/pci/hotplug/shpchp_hpc.c | 18 ------------------
 3 files changed, 22 deletions(-)

-- 
2.38.1
Re: [PATCH 0/3] PCI: SHPC: removed unused get_mode1_ECC_cap callback
Posted by Bjorn Helgaas 3 years, 4 months ago
On Sat, Nov 12, 2022 at 09:28:56AM -0500, Ian Cowan wrote:
> In the SHPC module, the get_mode1_ECC_cap callback is never used from
> the hpc_ops struct, so this patch series removes that callback from both the
> definition of the struct and the definition of the shpchp_hps_ops
> struct. Additionally, this removes the reference in the TODO of the SHPC
> module.
> 
> Ian Cowan (3):
>   PCI: SHPC: remove unused get_mode1_ECC_cap callback declaration
>   PCI: SHPC: remove unused get_mode1_ECC_cap callback from definition
>   PCI: SHPC: update todo
> 
>  drivers/pci/hotplug/TODO         |  3 ---
>  drivers/pci/hotplug/shpchp.h     |  1 -
>  drivers/pci/hotplug/shpchp_hpc.c | 18 ------------------
>  3 files changed, 22 deletions(-)

Applied to pci/hotplug for v6.2, thanks, Ian!