Commit 9a5eb2a
committed
ata: libata-scsi: simplify ata_scsi_requeue_deferred_qc()
In ata_scsi_requeue_deferred_qc(), use ata_qc_done() instead of calling
ata_qc_free() and scsi_done() directly.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>1 parent a21b404 commit 9a5eb2a
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
1688 | | - | |
1689 | 1688 | | |
1690 | 1689 | | |
1691 | 1690 | | |
| |||
1697 | 1696 | | |
1698 | 1697 | | |
1699 | 1698 | | |
1700 | | - | |
1701 | 1699 | | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
| 1700 | + | |
| 1701 | + | |
1705 | 1702 | | |
1706 | 1703 | | |
1707 | 1704 | | |
| |||
0 commit comments