diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-07-17 20:59:55 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-07-17 20:59:55 -0400 |
commit | 3dce01713723bbcc92562bd4488e8b840a4f786c (patch) | |
tree | 7e0720179ad4240b993f86f558a3efa8861f1033 /crypto/async_tx/async_tx.c | |
parent | d2c52b7983b95bb3fc2a784e479f832f142d4523 (diff) |
async_tx: remove depend_tx from async_tx_sync_epilog
All callers of async_tx_sync_epilog have called async_tx_quiesce on the
depend_tx, so async_tx_sync_epilog need only call the callback to
complete the operation.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/async_tx/async_tx.c')
-rw-r--r-- | crypto/async_tx/async_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/async_tx/async_tx.c b/crypto/async_tx/async_tx.c index 78a61e7f631..35869a37a6f 100644 --- a/crypto/async_tx/async_tx.c +++ b/crypto/async_tx/async_tx.c | |||
@@ -609,7 +609,7 @@ async_trigger_callback(enum async_tx_flags flags, | |||
609 | /* wait for any prerequisite operations */ | 609 | /* wait for any prerequisite operations */ |
610 | async_tx_quiesce(&depend_tx); | 610 | async_tx_quiesce(&depend_tx); |
611 | 611 | ||
612 | async_tx_sync_epilog(flags, depend_tx, cb_fn, cb_param); | 612 | async_tx_sync_epilog(cb_fn, cb_param); |
613 | } | 613 | } |
614 | 614 | ||
615 | return tx; | 615 | return tx; |