Merge tag 'io_uring-5.15-2021-09-11' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / drivers / pci / pcie / ptm.c
index 8a4ad97..368a254 100644 (file)
@@ -60,10 +60,8 @@ void pci_save_ptm_state(struct pci_dev *dev)
                return;
 
        save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_PTM);
-       if (!save_state) {
-               pci_err(dev, "no suspend buffer for PTM\n");
+       if (!save_state)
                return;
-       }
 
        cap = (u16 *)&save_state->cap.data[0];
        pci_read_config_word(dev, ptm + PCI_PTM_CTRL, cap);