Merge "logd: remove unnecessary static" am: a597f75045
Change-Id: I255b0a524af3c29f88c6de1891b51feb5fbdba12
This commit is contained in:
commit
a55b2e3f68
|
@ -45,11 +45,7 @@ bool LogListener::StartListener() {
|
|||
}
|
||||
|
||||
void LogListener::ThreadFunction() {
|
||||
static bool name_set;
|
||||
if (!name_set) {
|
||||
prctl(PR_SET_NAME, "logd.writer");
|
||||
name_set = true;
|
||||
}
|
||||
prctl(PR_SET_NAME, "logd.writer");
|
||||
|
||||
while (true) {
|
||||
HandleData();
|
||||
|
|
Loading…
Reference in New Issue