mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qemu-nbd: remove useless parameter from nbd_negotiate() (Laurent Vivier)
This patch removes "BlockDriverState *bs" from nbd_negotiate() because it is not used. Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.fr> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5186 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3a3b925d47
commit
279826619d
3 changed files with 3 additions and 3 deletions
2
nbd.c
2
nbd.c
|
@ -264,7 +264,7 @@ error:
|
|||
Request (type == 2)
|
||||
*/
|
||||
|
||||
int nbd_negotiate(BlockDriverState *bs, int csock, off_t size)
|
||||
int nbd_negotiate(int csock, off_t size)
|
||||
{
|
||||
char buf[8 + 8 + 8 + 128];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue