Fix dup var type compiler warn in AHCIPortInit.

This commit is contained in:
TomAwezome 2022-10-09 20:37:24 -04:00
parent ff5a901185
commit 41d32c699e

View file

@ -1025,8 +1025,7 @@ U0 AHCIPortInit(CBlkDev *bd, CAHCIPort *port, I64 port_num)
Bool AHCIAtaInit(CBlkDev *bd)
{
Bool unlock, okay = FALSE;
CPortCmdHeader *cmd_header;
CPortCmdHeader *cmd_header_base;
CPortCmdHeader *cmd_header, *cmd_header_base;
I64 i;
if (!bd->ahci_port)