]> git.baikalelectronics.ru Git - kernel.git/commit
dma: mv_xor: Remove unneeded mv_xor_clean_completed_slots() call
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 7 Mar 2014 19:46:45 +0000 (16:46 -0300)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Apr 2014 19:26:17 +0000 (12:26 -0700)
commit6c3b7a56c784e3b3900bc509c14871869cf2f875
treedc150cac806db3e0d8d7630af494550d30130384
parent9702e6045eee9c413b9980540963dca5c784a268
dma: mv_xor: Remove unneeded mv_xor_clean_completed_slots() call

In mv_xor_status(), we are currently calling mv_xor_clean_completed_slots()
when the transaction is complete (the cookie status is DMA_COMPLETE).
However, a completed status means that mv_xor_slot_cleanup() was called,
which cleans the completed slots.

In other words, there's nothing to cleanup for a completed transaction in
mv_xor_status(). Remove the unneeded call to mv_xor_clean_completed_slots().

Reported-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/mv_xor.c