commit | b726a01b76ed06a0aec3a24879f8efce2d7f7005 | [log] [tgz] |
---|---|---|
author | Pavel Herrmann <morpheus.ibis@gmail.com> | Thu Sep 27 23:18:03 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Fri Sep 28 10:40:30 2012 -0700 |
tree | 36e9a99e2fca31fcbb65afb2fabe71d9867b258e | |
parent | a10973e7fac1e0338c9c0bb79ae114d869b6200f [diff] |
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: Pavel Herrmann <morpheus.ibis@gmail.com>