commit | 4d1deed139bbfabd7c3078a802e5b6a69f3ed8e8 | [log] [tgz] |
---|---|---|
author | Yao Chen <yaochen@google.com> | Tue May 22 15:57:08 2018 -0700 |
committer | Yao Chen <yaochen@google.com> | Tue May 22 16:06:21 2018 -0700 |
tree | 7dd8b29a043c72e27ed97bdf86e17b8385c6444f | |
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