diff --git a/src/userland/lspci/main.c b/src/userland/lspci/main.c index 2d5af4c..eb66057 100644 --- a/src/userland/lspci/main.c +++ b/src/userland/lspci/main.c @@ -190,7 +190,7 @@ initializePci(); } if (!checkFocus()) { - //return 0; + return 0; } foreach (pciDevices, PciDevice *, device, { printf("[%i:%i:%i]: %s\n", device->bus, device->device, diff --git a/src/userland/lspci/main.c b/src/userland/lspci/main.c index 2d5af4c..eb66057 100644 --- a/src/userland/lspci/main.c +++ b/src/userland/lspci/main.c @@ -190,7 +190,7 @@ initializePci(); } if (!checkFocus()) { - //return 0; + return 0; } foreach (pciDevices, PciDevice *, device, { printf("[%i:%i:%i]: %s\n", device->bus, device->device, diff --git a/src/userland/usb/xhci/trbRing.c b/src/userland/usb/xhci/trbRing.c index 544189b..316f973 100644 --- a/src/userland/usb/xhci/trbRing.c +++ b/src/userland/usb/xhci/trbRing.c @@ -41,7 +41,6 @@ ring->trbs[ring->size - 1].dataLow = U32(ring->physical); ring->trbs[ring->size - 1].dataHigh = 0; ring->trbs[ring->size - 1].control = 1 << 1 | COMMAND_TYPE(6); - printf("TRB ring: size %i, malloced %i bytes", size, sizeof(XHCITRB) * (size + 1)); } TrbRing *createSlotTRB(SlotXHCI *slot) {