logd: remove unnecessary static

ThreadFunction() will only be entered once, so there's no worry that
we'll call prctl() multiple times.

Test: logging unit tests
Change-Id: Id2a02c2ab807f1565e3d625424e040481b3aa1a3
diff --git a/logd/LogListener.cpp b/logd/LogListener.cpp
index fbe6ea0..92b384d 100644
--- a/logd/LogListener.cpp
+++ b/logd/LogListener.cpp
@@ -45,11 +45,7 @@
 }
 
 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();