log: remove superflous client_close call
authorJohn Crispin <blogic@openwrt.org>
Thu, 27 Mar 2014 12:04:24 +0000 (12:04 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 27 Mar 2014 13:13:16 +0000 (13:13 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
log/logd.c

index 5c614f6101c9b2d2269f25068c48035e419b0386..f61e6660fc580a55cda5821bc361a45e2dfc5933 100644 (file)
@@ -58,12 +58,11 @@ client_close(struct ustream *s)
 static void
 client_notify_write(struct ustream *s, int bytes)
 {
-       client_close(s);
 }
 
 static void client_notify_state(struct ustream *s)
 {
-       return client_close(s);
+       client_close(s);
 }
 
 static int