Skip to content

Commit

Permalink
Remove unused port wait/queue argument
Browse files Browse the repository at this point in the history
Change-Id: Ifcfe6c2d18045ce3a2e443ee84d4dd84bb3db373
Reviewed-on: https://chromium-review.googlesource.com/1073567
Reviewed-by: Scott Graham <[email protected]>
Commit-Queue: Scott Graham <[email protected]>
  • Loading branch information
Adam Barth authored and Commit Bot committed May 25, 2018
1 parent c86c9f0 commit 3033802
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion handler/fuchsia/exception_handler_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void ExceptionHandlerServer::Run(CrashReportExceptionHandler* handler) {
while (true) {
zx_port_packet_t packet;
zx_status_t status =
zx_port_wait(exception_port_.get(), ZX_TIME_INFINITE, &packet, 1);
zx_port_wait(exception_port_.get(), ZX_TIME_INFINITE, &packet);
if (status != ZX_OK) {
ZX_LOG(ERROR, status) << "zx_port_wait, aborting";
return;
Expand Down
4 changes: 2 additions & 2 deletions snapshot/fuchsia/process_reader_fuchsia_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ TEST(ProcessReaderFuchsia, ChildBasic) {
void* SignalAndSleep(void* arg) {
zx_port_packet_t packet = {};
packet.type = ZX_PKT_TYPE_USER;
zx_port_queue(*reinterpret_cast<zx_handle_t*>(arg), &packet, 1);
zx_port_queue(*reinterpret_cast<zx_handle_t*>(arg), &packet);
zx_nanosleep(UINT64_MAX);
return nullptr;
}
Expand All @@ -125,7 +125,7 @@ CRASHPAD_CHILD_TEST_MAIN(ProcessReaderChildThreadsTestMain) {
// Wait until all threads are ready.
for (size_t i = 0; i < kNumThreads; ++i) {
zx_port_packet_t packet;
zx_port_wait(port, ZX_TIME_INFINITE, &packet, 1);
zx_port_wait(port, ZX_TIME_INFINITE, &packet);
}

char c = ' ';
Expand Down

0 comments on commit 3033802

Please sign in to comment.