diff options
| author | 2021-11-23 17:37:33 -0800 | |
|---|---|---|
| committer | 2021-11-29 06:38:51 -0700 | |
| commit | 72cd9df2ef788d88c138d51223a01ca6281f232d (patch) | |
| tree | 0d542b8eee1d2759fd6fa0b5bd5e5b44da55a476 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | blk-mq: cleanup request allocation (diff) | |
blk-crypto: remove blk_crypto_unregister()
This function is trivial and is only used in one place. Having this
function is misleading because it implies that blk_crypto_register()
needs to be paired with blk_crypto_unregister(), which is not the case.
Just set disk->queue->crypto_profile to NULL directly.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211124013733.347612-1-ebiggers@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
