commit | f52c0e08237e7864a44311fc78bc9bf2e045611b | [log] [tgz] |
---|---|---|
author | Yu Kuai <yukuai3@huawei.com> | Thu Sep 16 17:33:48 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 18 14:50:37 2021 -0600 |
tree | 0d0c63a9ff161088f85242cc441895c4c70e4c85 | |
parent | 0de2b7a4dd08eeb82b8cc3fe5d6b8ba49a32f7bd [diff] |
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: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Link: https://lore.kernel.org/r/20210916093350.1410403-6-yukuai3@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>