aboutsummaryrefslogtreecommitdiff
path: root/nbd/server.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2020-09-24 17:26:47 +0200
committerKevin Wolf <kwolf@redhat.com>2020-10-02 15:46:40 +0200
commit8760366cdbbddc574860294a443041982b90e2f5 (patch)
tree8d11b4059b306d0a76d0be0f1b20b577ddf3236e /nbd/server.c
parentda16f4b867e494b0a73ec74555804209c819d2f8 (diff)
downloadqemu-8760366cdbbddc574860294a443041982b90e2f5.zip
qemu-8760366cdbbddc574860294a443041982b90e2f5.tar.gz
qemu-8760366cdbbddc574860294a443041982b90e2f5.tar.bz2
nbd: Remove unused nbd_export_get_blockdev()
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20200924152717.287415-2-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'nbd/server.c')
-rw-r--r--nbd/server.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/nbd/server.c b/nbd/server.c
index 982de67..bd53f7b 100644
--- a/nbd/server.c
+++ b/nbd/server.c
@@ -1731,11 +1731,6 @@ void nbd_export_put(NBDExport *exp)
}
}
-BlockBackend *nbd_export_get_blockdev(NBDExport *exp)
-{
- return exp->blk;
-}
-
void nbd_export_close_all(void)
{
NBDExport *exp, *next;