[PATCH] kernel/cgroup.c: remove unused variable - Kernel

This is a discussion on [PATCH] kernel/cgroup.c: remove unused variable - Kernel ; Signed-off-by: Alexander Beregalov --- kernel/cgroup.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 046c160..ed21eb5 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -2104,7 +2104,6 @@ static void *cgroup_tasks_start(struct seq_file *s, loff_t *pos) down_read(&cgrp->pids_mutex); if (pid) ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] kernel/cgroup.c: remove unused variable

  1. [PATCH] kernel/cgroup.c: remove unused variable



    Signed-off-by: Alexander Beregalov
    ---

    kernel/cgroup.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/kernel/cgroup.c b/kernel/cgroup.c
    index 046c160..ed21eb5 100644
    --- a/kernel/cgroup.c
    +++ b/kernel/cgroup.c
    @@ -2104,7 +2104,6 @@ static void *cgroup_tasks_start(struct seq_file *s, loff_t *pos)
    down_read(&cgrp->pids_mutex);
    if (pid) {
    int end = cgrp->pids_length;
    - int i;
    while (index < end) {
    int mid = (index + end) / 2;
    if (cgrp->tasks_pids[mid] == pid) {
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH] kernel/cgroup.c: remove unused variable

    Alexander Beregalov wrote:
    >


    I've sent a patch including this cleanup yesterday.

    > Signed-off-by: Alexander Beregalov
    > ---
    >
    > kernel/cgroup.c | 1 -
    > 1 files changed, 0 insertions(+), 1 deletions(-)
    >
    > diff --git a/kernel/cgroup.c b/kernel/cgroup.c
    > index 046c160..ed21eb5 100644
    > --- a/kernel/cgroup.c
    > +++ b/kernel/cgroup.c
    > @@ -2104,7 +2104,6 @@ static void *cgroup_tasks_start(struct seq_file *s, loff_t *pos)
    > down_read(&cgrp->pids_mutex);
    > if (pid) {
    > int end = cgrp->pids_length;
    > - int i;
    > while (index < end) {
    > int mid = (index + end) / 2;
    > if (cgrp->tasks_pids[mid] == pid) {
    > --
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/
    >
    >

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread