summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index d705901244..a1efecfbbb 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2845,9 +2845,6 @@ void *talloc_check_name_abort(const void *ptr, const char *name)
{
void *result;
- if (ptr == NULL)
- return NULL;
-
result = talloc_check_name(ptr, name);
if (result != NULL)
return result;