projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e89ae
)
cpuset: drop spurious retval assignment in proc_cpuset_show()
author
Li Zefan
<lizefan@huawei.com>
Tue, 15 Jan 2013 06:11:32 +0000
(14:11 +0800)
committer
Tejun Heo
<tj@kernel.org>
Tue, 15 Jan 2013 16:38:55 +0000
(08:38 -0800)
proc_cpuset_show() has a spurious -EINVAL assignment which does
nothing. Remove it.
This patch doesn't make any functional difference.
tj: Rewrote patch description.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cpuset.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/cpuset.c
b/kernel/cpuset.c
index 1a675e446ef27fc4b8fc95068401bbb5c09570c7..16be7c9edfd7f2116d32f34ca9b4b99faf6d1e7c 100644
(file)
--- a/
kernel/cpuset.c
+++ b/
kernel/cpuset.c
@@
-2677,7
+2677,6
@@
static int proc_cpuset_show(struct seq_file *m, void *unused_v)
if (!tsk)
goto out_free;
- retval = -EINVAL;
rcu_read_lock();
css = task_subsys_state(tsk, cpuset_subsys_id);
retval = cgroup_path(css->cgroup, buf, PAGE_SIZE);