Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 667ef2c4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Brian Duddie
Browse files

Merge "Remove unnecessary type and dup for fd" am: 5428551b am: f8f2391f

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374049

Change-Id: I4151bc9aa650bbdb5545875d14760455efe62fe7
parent a080c418
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -341,7 +341,7 @@ Return<void> HalProxy::debug(const hidl_handle& fd, const hidl_vec<hidl_string>&
        return Void();
    }

    android::base::borrowed_fd writeFd = dup(fd->data[0]);
    int writeFd = fd->data[0];

    std::ostringstream stream;
    stream << "===HalProxy===" << std::endl;