Skip to contentSkip to conversation

sched/header: Remove a redundant comment.

PATCH New Perr Zhang 2 participants 2 messages Jun 2, 2017 – Jun 5, 2017 Scheduler

lore
Share & tools
lore

Perr Zhang

author
#0 lore raw

PATCH 1/1 sched/header: Remove a redundant comment.

There is no more set_task_vxid() helper. remove it from the comment.

---
 include/linux/sched.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/sched.h +0 -2
index 2b69fc650201..1abaa3728bf7 100644
@@ -1096,8 +1096,6 @@ static inline struct pid *task_session(struct task_struct *task)
  *                     current.
  * task_xid_nr_ns()  : id seen from the ns specified;
  *
- * set_task_vxid()   : assigns a virtual id to a task;
- *
  * see also pid_nr() etc in include/linux/pid.h
  */
 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);

--
2.13.0

#1 lore raw

[tip:sched/core] sched/header: Remove leftover, obsolete comment

sched/header: Remove leftover, obsolete comment
Commit-ID:  9b01d43170aa70a435105f6413759e2ab7e00219
Gitweb:     http://git.kernel.org/tip/9b01d43170aa70a435105f6413759e2ab7e00219
Author:     Perr Zhang <[email protected]>
AuthorDate: Fri, 2 Jun 2017 11:59:53 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 5 Jun 2017 09:32:42 +0200

sched/header: Remove leftover, obsolete comment

There is no more set_task_vxid() helper, remove its description.

---
 include/linux/sched.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/sched.h +0 -2
index 2b69fc6..1abaa37 100644
@@ -1096,8 +1096,6 @@ static inline struct pid *task_session(struct task_struct *task)
  *                     current.
  * task_xid_nr_ns()  : id seen from the ns specified;
  *
- * set_task_vxid()   : assigns a virtual id to a task;
- *
  * see also pid_nr() etc in include/linux/pid.h
  */
 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);