Re: [PATCH] qed: Drop useless pci_params.pm_cap

From: Simon Horman
Date: Tue Mar 26 2024 - 10:50:34 EST


On Mon, Mar 25, 2024 at 05:49:31PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> qed_init_pci() used pci_params.pm_cap only to cache the pci_dev.pm_cap.
> Drop the cache and use pci_dev.pm_cap directly.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>