aboutsummaryrefslogtreecommitdiff
path: root/block/ssh.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-04-12 20:02:37 +0200
committerKevin Wolf <kwolf@redhat.com>2013-04-22 11:34:35 +0200
commit56d1b4d21d444619302d3f1291a133b1c2b9b072 (patch)
treed11c298da04c8342088cba4ae75cd51e381d15ad /block/ssh.c
parent7ad9be64e8ac17811ff358279ef7193cc623da1a (diff)
downloadqemu-56d1b4d21d444619302d3f1291a133b1c2b9b072.zip
qemu-56d1b4d21d444619302d3f1291a133b1c2b9b072.tar.gz
qemu-56d1b4d21d444619302d3f1291a133b1c2b9b072.tar.bz2
block: Remove filename parameter from .bdrv_file_open()
It is unused now in all block drivers. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/ssh.c')
-rw-r--r--block/ssh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/ssh.c b/block/ssh.c
index 93a8b53..246a70d 100644
--- a/block/ssh.c
+++ b/block/ssh.c
@@ -608,8 +608,7 @@ static int connect_to_ssh(BDRVSSHState *s, QDict *options,
return ret;
}
-static int ssh_file_open(BlockDriverState *bs, const char *filename,
- QDict *options, int bdrv_flags)
+static int ssh_file_open(BlockDriverState *bs, QDict *options, int bdrv_flags)
{
BDRVSSHState *s = bs->opaque;
int ret;