diff --git a/drivers/nvme/nvme.asm b/drivers/nvme/nvme.asm index b66ae99..312f276 100644 --- a/drivers/nvme/nvme.asm +++ b/drivers/nvme/nvme.asm @@ -383,19 +383,6 @@ proc cq0thbl_write stdcall, dstrd:dword endp -proc get_dstrd stdcall, pci:dword - - ; Stride is (2 ^ (2 + DSTRD)) bytes - mov eax, [pci] - mov eax, dword [eax + pcidev.mmio_ptr] - mov eax, dword [eax + NVME_MMIO.CAP + 4] - and eax, CAP_DSTRD - add eax, 2 - stdcall pow2, eax - ret - -endp - ; Calculates 2^x proc pow2 stdcall, x:dword