diff options
author | luo penghao <luo.penghao@zte.com.cn> | 2021-11-04 09:45:46 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-04 14:47:53 +0300 |
commit | 18c6c96897a3b1ba44ab4df7324bf0b3454e090b (patch) | |
tree | 0275fe40f7262fb0f9799c6d2f4ec336e6319915 /drivers/nvdimm/btt.c | |
parent | 27548088ac628109f70eb0b1eb521d035844dba8 (diff) | |
download | linux-18c6c96897a3b1ba44ab4df7324bf0b3454e090b.tar.xz |
loop: Remove duplicate assignments
The assignment and operation there will be overwritten later, so
it should be deleted.
The clang_analyzer complains as follows:
drivers/block/loop.c:2330:2 warning:
Value stored to 'err' is never read
change in v2:
Repair the sending email box
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
Link: https://lore.kernel.org/r/20211104064546.3074-1-luo.penghao@zte.com.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvdimm/btt.c')
0 files changed, 0 insertions, 0 deletions