commit | a2c0c699e3a826b6e995aa339be127cb8814f551 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 16 18:31:45 2021 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Nov 16 18:31:45 2021 -0800 |
tree | 88c76452decdb66d653f05d0a6e58188c02416fd | |
parent | d45fc5dd626d8476275d15c7194dab557e936e8e [diff] |
SendLogdControlMessage: remove pointless memset. Tell the compiler what we're actually trying to do, so it can optimize better. The code's a lot more readable this way too. (Found while chasing down all the memset calls in logcat.) Test: treehugger Change-Id: I2f33a6e042079b3f6585835dfe7f6429d82dbd08