From ab58469ff4f80506bdbf148e3a19ac377e6a054b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 5 Jan 2012 15:41:50 +0100 Subject: s3: Remove some redundant code Autobuild-User: Volker Lendecke Autobuild-Date: Thu Jan 5 17:16:45 CET 2012 on sn-devel-104 --- source3/winbindd/wb_next_pwent.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/wb_next_pwent.c b/source3/winbindd/wb_next_pwent.c index 8104568d7a..28ae9b7075 100644 --- a/source3/winbindd/wb_next_pwent.c +++ b/source3/winbindd/wb_next_pwent.c @@ -43,11 +43,6 @@ static struct winbindd_domain *wb_next_find_domain(struct winbindd_domain *domai && sid_check_is_domain(&domain->sid)) { domain = domain->next; } - - if (domain == NULL) { - return NULL; - } - return domain; } -- cgit