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

Message ID 20221112142859.319733-1-ian@linux.cowan.aero
Headers
Series PCI: SHPC: removed unused get_mode1_ECC_cap callback |

Message

Ian Cowan Nov. 12, 2022, 2:28 p.m. UTC
  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(-)
  

Comments

Bjorn Helgaas Dec. 7, 2022, 2:37 p.m. UTC | #1
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!