summaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-08-31 09:30:33 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-09-04 09:45:50 +0000
commit0a4eb864e354d650ac9ff6aea62873a6cd07e9ca (patch)
treec555754b01b053e521dd1a6d1f37ae8dd74cdbb3 /nbd.c
parentcb93bbdd7db92e50ff5e60a346b23df68acae46b (diff)
downloadqemu-0a4eb864e354d650ac9ff6aea62873a6cd07e9ca.tar.gz
qemu-0a4eb864e354d650ac9ff6aea62873a6cd07e9ca.tar.bz2
qemu-0a4eb864e354d650ac9ff6aea62873a6cd07e9ca.zip
Remove unused argument for nbd_client()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbd.c b/nbd.c
index a9f295f2bb..7049998572 100644
--- a/nbd.c
+++ b/nbd.c
@@ -393,7 +393,7 @@ int nbd_disconnect(int fd)
return 0;
}
-int nbd_client(int fd, int csock)
+int nbd_client(int fd)
{
int ret;
int serrno;
@@ -427,7 +427,7 @@ int nbd_disconnect(int fd)
return -1;
}
-int nbd_client(int fd, int csock)
+int nbd_client(int fd)
{
errno = ENOTSUP;
return -1;