Skip to content
Snippets Groups Projects
Commit 88492745 authored by Chen Qun's avatar Chen Qun Committed by Laurent Vivier
Browse files

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: default avatarEuler Robot <euler.robot@huawei.com>
Signed-off-by: default avatarChen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
Message-Id: <20200302130715.29440-7-kuhn.chenqun@huawei.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 780c7dad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment