Skip to content
Commit f52c0e08 authored by Yu Kuai's avatar Yu Kuai Committed by Jens Axboe
Browse files

nbd: clean up return value checking of sock_xmit()



Check if sock_xmit() return 0 is useless because it'll never return
0, comment it and remove such checkings.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20210916093350.1410403-6-yukuai3@huawei.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0de2b7a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment