projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bfdf29
)
nspawn: remove unused variable (#4369)
author
Thomas H. P. Andersen
<phomes@gmail.com>
Thu, 13 Oct 2016 21:30:28 +0000
(23:30 +0200)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Thu, 13 Oct 2016 21:30:28 +0000
(
00:30
+0300)
src/nspawn/nspawn-cgroup.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn-cgroup.c
b/src/nspawn/nspawn-cgroup.c
index
fd0578b
..
5274767
100644
(file)
--- a/
src/nspawn/nspawn-cgroup.c
+++ b/
src/nspawn/nspawn-cgroup.c
@@
-56,7
+56,6
@@
static int chown_cgroup_path(const char *path, uid_t uid_shift) {
int chown_cgroup(pid_t pid, uid_t uid_shift) {
_cleanup_free_ char *path = NULL, *fs = NULL;
- _cleanup_close_ int fd = -1;
int r;
r = cg_pid_get_path(NULL, pid, &path);