mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -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
|
@ -1437,7 +1437,6 @@ invalid_param_len:
|
|||
|
||||
invalid_field:
|
||||
scsi_check_condition(r, SENSE_CODE(INVALID_FIELD));
|
||||
return;
|
||||
}
|
||||
|
||||
static inline bool check_lba_range(SCSIDiskState *s,
|
||||
|
@ -1535,7 +1534,6 @@ static void scsi_disk_emulate_unmap(SCSIDiskReq *r, uint8_t *inbuf)
|
|||
|
||||
invalid_param_len:
|
||||
scsi_check_condition(r, SENSE_CODE(INVALID_PARAM_LEN));
|
||||
return;
|
||||
}
|
||||
|
||||
static void scsi_disk_emulate_write_data(SCSIRequest *req)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue