mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 07:20:32 +00:00
Fix dup var type compiler warn in AHCIPortInit.
This commit is contained in:
parent
ff5a901185
commit
41d32c699e
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue