]> git.ipfire.org Git - thirdparty/qemu.git/commit
block-backend: Remove deadcode
authorDr. David Alan Gilbert <dave@treblig.org>
Tue, 17 Sep 2024 00:20:56 +0000 (01:20 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 3 Oct 2024 14:26:06 +0000 (17:26 +0300)
commit07bea2d35f13ce1ca0b8b967bf4ebab4227d77bb
tree584332b73363fbf84c9b18f675c4d5c1a111c1e2
parent3110409ffd8022edd0039f941ae47691cb9e08a3
block-backend: Remove deadcode

blk_by_public last use was removed in 2017 by
  c61791fc23 ("block: add aio_context field in ThrottleGroupMember")

blk_activate last use was removed earlier this year by
  eef0bae3a7 ("migration: Remove block migration")

blk_add_insert_bs_notifier, blk_op_block_all, blk_op_unblock_all
last uses were removed in 2016 by
  ef8875b549 ("virtio-scsi: Remove op blocker for dataplane")

blk_iostatus_disable last use was removed in 2016 by
  66a0fae438 ("blockjob: Don't touch BDS iostatus")

Remove them.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
block/block-backend.c
include/sysemu/block-backend-global-state.h