Re: [PATCH] PCI/ASPM: Remove redundant check of pcie_set_clkpm

2016-06-10 Thread Bjorn Helgaas
On Tue, May 24, 2016 at 05:32:10PM +0800, Shawn Lin wrote: > Without supporting clock PM capable, if we want to disable > clkpm, we don't need this extra check as it already be zero for > the enable argument. And it's the same for enabling clkpm here. > So let's remove this check. > > Signed-off-b

[PATCH] PCI/ASPM: Remove redundant check of pcie_set_clkpm

2016-05-24 Thread Shawn Lin
Without supporting clock PM capable, if we want to disable clkpm, we don't need this extra check as it already be zero for the enable argument. And it's the same for enabling clkpm here. So let's remove this check. Signed-off-by: Shawn Lin --- drivers/pci/pcie/aspm.c | 2 +- 1 file changed, 1 i