diff options
author | Chen Qun <kuhn.chenqun@huawei.com> | 2020-03-02 21:07:08 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-03-09 15:59:31 +0100 |
commit | 88492745a50372f81d4af7fd35aca26b41603776 (patch) | |
tree | 0c332492468827337739234078ae45cc9069c3ab /.patchew.yml | |
parent | 780c7dad17374592d202098b083376c70342356e (diff) | |
download | qemu-88492745a50372f81d4af7fd35aca26b41603776.zip qemu-88492745a50372f81d4af7fd35aca26b41603776.tar.gz qemu-88492745a50372f81d4af7fd35aca26b41603776.tar.bz2 |
scsi/scsi-disk: Remove redundant statement in scsi_disk_emulate_command()
Clang static code analyzer show warning:
scsi/scsi-disk.c:1918:5: warning: Value stored to 'buflen' is never read
buflen = req->cmd.xfer;
^ ~~~~~~~~~~~~~
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200302130715.29440-7-kuhn.chenqun@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to '.patchew.yml')
0 files changed, 0 insertions, 0 deletions