summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-05 15:41:50 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-05 17:16:45 +0100
commitab58469ff4f80506bdbf148e3a19ac377e6a054b (patch)
tree0ed9a63287e270c8c64c3c909d20c3508d8c207a /source3/winbindd
parent7fc566dbb92de293b3be2d6c0c494394fde7e8a3 (diff)
downloadsamba-ab58469ff4f80506bdbf148e3a19ac377e6a054b.tar.gz
samba-ab58469ff4f80506bdbf148e3a19ac377e6a054b.tar.bz2
samba-ab58469ff4f80506bdbf148e3a19ac377e6a054b.zip
s3: Remove some redundant code
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 17:16:45 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-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;
}