summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/password.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 1ad98438ef..68e134a0d6 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -103,10 +103,6 @@ void invalidate_vuid(uint16 vuid)
{
user_struct *vuser = NULL;
- if (vuid == UID_FIELD_INVALID) {
- return;
- }
-
vuser = get_valid_user_struct_internal(vuid,
SERVER_ALLOCATED_REQUIRED_ANY);
if (vuser == NULL) {