From c5b9de9d91dd993e0ae39c28bc755f5f75099fa7 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 16 Dec 2024 23:08:51 -0800 Subject: [PATCH] lines --- msgq/visionipc/visionipc_client.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/msgq/visionipc/visionipc_client.cc b/msgq/visionipc/visionipc_client.cc index 2330f398..ac6f06ee 100644 --- a/msgq/visionipc/visionipc_client.cc +++ b/msgq/visionipc/visionipc_client.cc @@ -54,7 +54,6 @@ bool VisionIpcClient::connect(bool blocking){ int fds[VISIONIPC_MAX_FDS]; VisionBuf bufs[VISIONIPC_MAX_FDS]; r = ipc_sendrecv_with_fds(false, socket_fd, &bufs, sizeof(bufs), fds, VISIONIPC_MAX_FDS, &num_buffers); - if (r < 0) { // only expected error is server shutting down assert(errno == ECONNRESET); @@ -129,7 +128,6 @@ std::set VisionIpcClient::getAvailableStreams(const std::strin VisionStreamType available_streams[VISION_STREAM_MAX] = {}; r = ipc_sendrecv_with_fds(false, socket_fd, &available_streams, sizeof(available_streams), nullptr, 0, nullptr); - if (r < 0) { // only expected error is server shutting down assert(errno == ECONNRESET);