diff options
author | 2012-02-09 11:08:34 -0600 | |
---|---|---|
committer | 2012-02-26 10:44:40 +0100 | |
commit | 5eff9886a08d723ec02b30dd6eae701109d3447a (patch) | |
tree | 3aa1301cb3e7277428ab63f914228284de6f5e61 | |
parent | lxc-init: use INFO when failed to mount /dev/shm (diff) | |
download | lxc-5eff9886a08d723ec02b30dd6eae701109d3447a.tar.gz lxc-5eff9886a08d723ec02b30dd6eae701109d3447a.tar.bz2 lxc-5eff9886a08d723ec02b30dd6eae701109d3447a.zip |
remove unused fddir variable
Thanks to dlezcano for spotting this.
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r-- | src/lxc/cgroup.c | 3 |
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; |