block: remove unused bdrv_media_changed
commitf024aee8673676712f7622e814f27b0f7d5bffd5
authorManos Pitsidianakis <el13635@mail.ntua.gr>
Thu, 13 Jul 2017 15:30:26 +0000 (13 18:30 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 4 Sep 2017 16:31:13 +0000 (4 18:31 +0200)
tree8b33e177a65588191eba0a1460b8f96b9229d086
parent5a612c009ee538a3b32c896f9a6c5562a50efe9d
block: remove unused bdrv_media_changed

This function is not used anywhere, so remove it.

Markus Armbruster adds:
The i82078 floppy device model used to call bdrv_media_changed() to
implement its media change bit when backed by a host floppy.  This
went away in 21fcf36 "fdc: simplify media change handling".
Probably broke host floppy media change.  Host floppy pass-through
was dropped in commit f709623.  bdrv_media_changed() has never been
used for anything else.  Remove it.
(Source is Message-ID: <87y3ruaypm.fsf@dusky.pond.sub.org>)

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/raw-format.c
include/block/block.h
include/block/block_int.h