summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/wb_next_pwent.c5
1 files changed, 0 insertions, 5 deletions
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;
}