From b222de4eb3abab618f740a89279af2a7dc0985a7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 14 Feb 2009 18:51:41 +0100 Subject: Remove a pointless NULL check --- source3/registry/reg_perfcount.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/registry') diff --git a/source3/registry/reg_perfcount.c b/source3/registry/reg_perfcount.c index 28cbec51fa..fed3cbdd52 100644 --- a/source3/registry/reg_perfcount.c +++ b/source3/registry/reg_perfcount.c @@ -41,9 +41,6 @@ static char *counters_directory(const char *dbname) char *ret = NULL; TALLOC_CTX *ctx = talloc_tos(); - if (!dbname) - return NULL; - path = talloc_asprintf(ctx, "%s/%s", PERFCOUNTDIR, dbname); if (!path) { return NULL; -- cgit