From 2029fe72b23c1b62282c31c4cd29d47c686eef49 Mon Sep 17 00:00:00 2001 From: Swen Schillig Date: Thu, 11 Apr 2019 09:52:05 +0200 Subject: lib: remove duplicate check This check was supposed to be removed by c9f4b92a613. Signed-off-by: Swen Schillig Reviewed-by: Ralph Boehme Reviewed-by: Christof Schmitt Autobuild-User(master): Christof Schmitt Autobuild-Date(master): Thu Apr 11 23:34:51 UTC 2019 on sn-devel-144 --- source3/lib/messages_dgm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3') diff --git a/source3/lib/messages_dgm.c b/source3/lib/messages_dgm.c index d73a6ad6a7c..5a79a234271 100644 --- a/source3/lib/messages_dgm.c +++ b/source3/lib/messages_dgm.c @@ -1470,10 +1470,6 @@ static int messaging_dgm_read_unique(int fd, uint64_t *punique) buf[rw_ret] = '\0'; unique = strtoull_err(buf, &endptr, 10, &error); - if ((unique == 0) && (errno == EINVAL)) { - return EINVAL; - } - if (error != 0) { return error; } -- cgit v1.2.1