Skip to content

Commit c5b9de9

Browse files
committed
lines
1 parent 8503aeb commit c5b9de9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

msgq/visionipc/visionipc_client.cc

-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ bool VisionIpcClient::connect(bool blocking){
5454
int fds[VISIONIPC_MAX_FDS];
5555
VisionBuf bufs[VISIONIPC_MAX_FDS];
5656
r = ipc_sendrecv_with_fds(false, socket_fd, &bufs, sizeof(bufs), fds, VISIONIPC_MAX_FDS, &num_buffers);
57-
5857
if (r < 0) {
5958
// only expected error is server shutting down
6059
assert(errno == ECONNRESET);
@@ -129,7 +128,6 @@ std::set<VisionStreamType> VisionIpcClient::getAvailableStreams(const std::strin
129128

130129
VisionStreamType available_streams[VISION_STREAM_MAX] = {};
131130
r = ipc_sendrecv_with_fds(false, socket_fd, &available_streams, sizeof(available_streams), nullptr, 0, nullptr);
132-
133131
if (r < 0) {
134132
// only expected error is server shutting down
135133
assert(errno == ECONNRESET);

0 commit comments

Comments
 (0)