aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2024-07-02 12:00:43 +0200
committerMikulas Patocka <mpatocka@redhat.com>2024-07-02 12:00:43 +0200
commitbabe69e86d0fcb11a4a8f629edf2951d94ef67ae (patch)
tree9bce0224cbd5c3dba840336fb2da2474562a71af /lib/crypto/mpi/mpiutil.c
parentb0042ba7684c90d9c8e7deb500c73d6ae3872cfe (diff)
dm io: remove code duplication between sync_io and aysnc_io
The only difference between the code to setup and dispatch the io in sync_io() and async_io() is the sync argument to dispatch_io(), which is used to update the opf argument. Update the opf argument direcly in sync_io(), and remove the sync argument from dispatch_io(). Then, make sync_io() call async_io() instead of duplicting all of its code. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions