]> mj.ucw.cz Git - pciutils.git/commitdiff
Removed a forgotten debugging test
authorMartin Mares <mj@ucw.cz>
Sat, 17 Feb 2024 23:06:33 +0000 (00:06 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 17 Feb 2024 23:06:33 +0000 (00:06 +0100)
It was introduced by commit 0ce6ff4aafb36a7923511a8da6bbbebb642e3109.

ls-caps.c

index bc1443af8a8b457fe6c94798a57291573113e486..2c99812c4ed25cdb72c7c71054b53365ec78675c 100644 (file)
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -1812,7 +1812,6 @@ show_caps(struct device *d, int where)
              break;
            case PCI_CAP_ID_EXP:
              type = cap_express(d, where, cap);
-        struct pci_cap* test = pci_find_cap(d->dev, PCI_CAP_ID_EXP, PCI_CAP_NORMAL);
              can_have_ext_caps = 1;
              break;
            case PCI_CAP_ID_MSIX: