Skip to contentSkip to conversation

kernel/cgroup.c: remove unused variable

PATCH In review Alexander Beregalov 2 participants 2 messages Oct 20, 2008 – Oct 21, 2008

lore
Share & tools
lore
#0 lore raw

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

---

 kernel/cgroup.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/cgroup.c +0 -1
index 046c160..ed21eb5 100644
@@ -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) {
#1 lore raw
Quoted 1 line · Alexander Beregalov

I've sent a patch including this cleanup yesterday.

Quoted 25 lines

---

 kernel/cgroup.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/cgroup.c +0 -2
index 046c160..ed21eb5 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/