mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
This commit is contained in:
parent
58455eb9f2
commit
4d5b97da35
41 changed files with 0 additions and 67 deletions
|
@ -505,7 +505,6 @@ static void virtfs_reset(V9fsPDU *pdu)
|
|||
error_report("9pfs:%s: One or more uncluncked fids "
|
||||
"found during reset", __func__);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
#define P9_QID_TYPE_DIR 0x80
|
||||
|
@ -934,7 +933,6 @@ static void v9fs_version(void *opaque)
|
|||
out:
|
||||
complete_pdu(s, pdu, offset);
|
||||
v9fs_string_free(&version);
|
||||
return;
|
||||
}
|
||||
|
||||
static void v9fs_attach(void *opaque)
|
||||
|
@ -1314,7 +1312,6 @@ out_nofid:
|
|||
g_free(wnames);
|
||||
g_free(qids);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static int32_t get_iounit(V9fsPDU *pdu, V9fsPath *path)
|
||||
|
@ -2257,7 +2254,6 @@ static void v9fs_flush(void *opaque)
|
|||
free_pdu(pdu->s, cancel_pdu);
|
||||
}
|
||||
complete_pdu(s, pdu, 7);
|
||||
return;
|
||||
}
|
||||
|
||||
static void v9fs_link(void *opaque)
|
||||
|
@ -2763,7 +2759,6 @@ out:
|
|||
put_fid(pdu, fidp);
|
||||
out_nofid:
|
||||
complete_pdu(s, pdu, retval);
|
||||
return;
|
||||
}
|
||||
|
||||
static void v9fs_mknod(void *opaque)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue