[PATCH 1/2] winbindd: useless function

Pierre Carrier work at gcarrier.fr
Sun Aug 22 17:53:39 MDT 2010


From: Pierre Carrier <geoffroy.carrier at gmail.com>

Hello list,

Seems simple enough for my first patch :)

-- 
Pierre
---
 source3/winbindd/winbindd.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 8dbcb12..47e09aa 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -99,13 +99,6 @@ static void winbindd_status(void)
 	}
 }
 
-/* Print winbindd status to log file */
-
-static void print_winbindd_status(void)
-{
-	winbindd_status();
-}
-
 /* Flush client cache */
 
 static void flush_caches(void)
@@ -325,7 +318,7 @@ static void winbindd_sig_usr2_handler(struct tevent_context *ev,
 				      void *siginfo,
 				      void *private_data)
 {
-	print_winbindd_status();
+	winbindd_status();
 }
 
 static bool winbindd_setup_sig_usr2_handler(void)
-- 
1.7.1.1



More information about the samba-technical mailing list