]> git.baikalelectronics.ru Git - kernel.git/commit
block/blk-map: Remove set but unused variable 'added'
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 5 Sep 2022 06:32:53 +0000 (14:32 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Sep 2022 17:44:37 +0000 (11:44 -0600)
commit91e5adda5cf4e3bf21c46eaa2ae7ee2cb6058126
tree2d17bfd7fcd78e34e9b30e8ceb946fb5662b4620
parent2d8f7a3b9fb31d2566b24fd94d5a533f9322c53c
block/blk-map: Remove set but unused variable 'added'

The variable added is not effectively used in the function, so delete
it.

block/blk-map.c:273:16: warning: variable 'added' set but not used.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2049
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220905063253.120082-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c