transport-helper: drop read/write errno checks
commitd4c813689b2b320f8907a615fcf1f1d27ae44f37
authorJeff King <peff@peff.net>
Thu, 11 Jan 2018 06:31:10 +0000 (11 01:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Jan 2019 22:15:32 +0000 (3 14:15 -0800)
tree4d8aa5d5caa91b8be1a9f72d5cfb9f08aa024a42
parentc14e5a1a5018f4407390488dfea387e5dc81c817
transport-helper: drop read/write errno checks

Since we use xread() and xwrite() here, EINTR, EAGAIN, and
EWOULDBLOCK retries are already handled for us, and we will
never see these errno values ourselves. We can drop these
conditions entirely, making the code easier to follow.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c