mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
nbd: clean up return value checking of sock_xmit()
[ Upstream commitf52c0e0823] 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> Stable-dep-of:9517b82d8d("nbd: defer config put in recv_work") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
85db50d966
commit
41ecdc2097
1 changed files with 7 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue