diff options
Diffstat (limited to 'source4/lib/registry/hive.c')
-rw-r--r-- | source4/lib/registry/hive.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/lib/registry/hive.c b/source4/lib/registry/hive.c index 5763dff0d2..dc38fc8215 100644 --- a/source4/lib/registry/hive.c +++ b/source4/lib/registry/hive.c @@ -35,11 +35,6 @@ _PUBLIC_ WERROR reg_open_hive(TALLOC_CTX *parent_ctx, const char *location, int fd, num; char peek[20]; - /* Check for directory */ - if (directory_exist(location)) { - return reg_open_directory(parent_ctx, location, root); - } - fd = open(location, O_RDWR); if (fd == -1) { if (errno == ENOENT) |