diff options
author | Yao Chen <yaochen@google.com> | 2018-05-22 15:57:08 -0700 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-05-22 16:06:21 -0700 |
commit | 4d1deed139bbfabd7c3078a802e5b6a69f3ed8e8 (patch) | |
tree | 7dd8b29a043c72e27ed97bdf86e17b8385c6444f /libcutils/sockets_unix.cpp | |
parent | 931a840e8c3494a4fac881c6f7b8663679ca6a88 (diff) |
Remove a redundant check in statsd socket code.
The original liblog code has this additional check because there may be multiple writers registered,
there is a for-loop and the retVal is set to be the FIRST error. Statsd doesn't need it because it
only has one writer.
Test: locally tested.
Change-Id: I03f0015d0c29eba19eb2b5ea145380cb98fb2509
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions