diff options
author | Li Zefan <lizefan@huawei.com> | 2013-01-15 14:11:32 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-01-15 08:38:55 -0800 |
commit | d127027baf98dce3ca31bec18c2c0e048ceda7c4 (patch) | |
tree | 120f1a9ea23f3f7daa70e40aad513c0448cbdcb3 /kernel | |
parent | 27e89ae5d6e94e30231ee89a7736f62d84ba4c6f (diff) | |
download | op-kernel-dev-d127027baf98dce3ca31bec18c2c0e048ceda7c4.zip op-kernel-dev-d127027baf98dce3ca31bec18c2c0e048ceda7c4.tar.gz |
cpuset: drop spurious retval assignment in proc_cpuset_show()
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cpuset.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 1a675e4..16be7c9 100644 --- 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); |