提交 2f20ccf8 编写于 作者: T Tejun Heo 提交者: Jeff Garzik

sata_mv: drop unncessary EH callback resetting

Now that BMDMA EH ops are separated out from SFF ops, mv5_ops doesn't
have to explicitly reset ->error_handler() and ->post_internal_cmd().
Drop them.
Signed-off-by: NTejun Heo <tj@kernel.org>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 ec96e2fe
...@@ -675,8 +675,6 @@ static struct ata_port_operations mv5_ops = { ...@@ -675,8 +675,6 @@ static struct ata_port_operations mv5_ops = {
.freeze = mv_eh_freeze, .freeze = mv_eh_freeze,
.thaw = mv_eh_thaw, .thaw = mv_eh_thaw,
.hardreset = mv_hardreset, .hardreset = mv_hardreset,
.error_handler = ata_std_error_handler, /* avoid SFF EH */
.post_internal_cmd = ATA_OP_NULL,
.scr_read = mv5_scr_read, .scr_read = mv5_scr_read,
.scr_write = mv5_scr_write, .scr_write = mv5_scr_write,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册