summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_perfcount.c3
1 files changed, 0 insertions, 3 deletions
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;