From 474fbfb7b712fe6be61505ca1796d0a3442a618a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Feb 2012 15:20:24 +1100 Subject: s3-lib: Remove unused is_myworkgroup() Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett --- source3/lib/util.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index 4ae872aa3b..822db43fef 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1214,23 +1214,6 @@ bool is_myname(const char *s) return(ret); } -/******************************************************************* - Is the name specified our workgroup/domain. - Returns true if it is equal, false otherwise. -********************************************************************/ - -bool is_myworkgroup(const char *s) -{ - bool ret = False; - - if (strequal(s, lp_workgroup())) { - ret=True; - } - - DEBUG(8, ("is_myworkgroup(\"%s\") returns %d\n", s, ret)); - return(ret); -} - /******************************************************************* we distinguish between 2K and XP by the "Native Lan Manager" string WinXP => "Windows 2002 5.1" -- cgit