Skip to content
Snippets Groups Projects
Commit b726a01b authored by Pavel Herrmann's avatar Pavel Herrmann Committed by Tom Rini
Browse files

remove unnecessary code in ata_piix


We set sata_curr_device to 0 right after returning from init_sata(), so there's
no point in setting it to the last scanned driver at this point.
Note: there are more duplicities with cmd_sata, but those might be required,
as the code seems to reset the entire controller on every scan, ignoring the
requested port number.

Signed-off-by: default avatarPavel Herrmann <morpheus.ibis@gmail.com>
parent a10973e7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment