mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
Remove unnecessary type and dup for fd
Test: Compile Change-Id: Iab4502a03090e0c99af73fded270c537b2909591
This commit is contained in:
committed by
Brian Duddie
parent
2f13308369
commit
582d62b67f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user