]> git.baikalelectronics.ru Git - kernel.git/commit
block: Remove unnecessary variable assignment
authorGuoYong Zheng <zhenggy@chinatelecom.cn>
Mon, 17 Jan 2022 10:22:37 +0000 (18:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Jan 2022 14:24:04 +0000 (07:24 -0700)
commitaf11b161dee8a1a75a061cca440450855e9565a6
treee4500b41c269ca1c2f1aeb3159ca7093bb022fcd
parenteaf59e66bcbff8148a9d9aac3b7d0528276ce51c
block: Remove unnecessary variable assignment

The parameter "ret" should be zero when running to this line,
no need to set to zero again, remove it.

Signed-off-by: GuoYong Zheng <zhenggy@chinatelecom.cn>
Link: https://lore.kernel.org/r/1642414957-6785-1-git-send-email-zhenggy@chinatelecom.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c