mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
Merge "Remove unnecessary type and dup for fd"
This commit is contained in:
@@ -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