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

Commit 5428551b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unnecessary type and dup for fd"

parents 4a916991 582d62b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,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;