diff options
author | Amos Kong <akong@redhat.com> | 2012-09-29 13:36:21 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-10-05 15:10:21 +0200 |
commit | 4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (patch) | |
tree | ee0e196c5bc3d4cb7702ff55c5bf7464c86a8783 /hw/scsi-disk.c | |
parent | 58455eb9f2865d54c8bf208805f7a4c217b5c00d (diff) |
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>
Diffstat (limited to 'hw/scsi-disk.c')
-rw-r--r-- | hw/scsi-disk.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 99bb02ebf8..1b0afa6352 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -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) |