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

Commit 582d62b6 authored by Stan Rokita's avatar Stan Rokita Committed by Brian Duddie
Browse files

Remove unnecessary type and dup for fd

Test: Compile
Change-Id: Iab4502a03090e0c99af73fded270c537b2909591
parent 2f133083
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;