aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lxc/cgroup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index f88d556..cc3910a 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
@@ -423,7 +423,6 @@ out:
int recursive_rmdir(char *dirname)
{
struct dirent dirent, *direntp;
- int fddir;
DIR *dir;
int ret;
char pathname[MAXPATHLEN];
@@ -434,8 +433,6 @@ int recursive_rmdir(char *dirname)
return -1;
}
- fddir = dirfd(dir);
-
while (!readdir_r(dir, &dirent, &direntp)) {
struct stat mystat;