aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorKarol Swietlicki <magotari@gmail.com>2008-02-05 01:31:03 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 12:44:29 -0500
commit2dc5802a22d68d83ef4c3d616912949a6527bb65 (patch)
tree5313ac550d2c7c81a0d22adaf14a0b9d31a0f57f /arch/um/drivers
parentfee64d3c153f1d5c28f91214b4d0db54d3f1fe0a (diff)
uml: remove duplicate config symbol and unused file and variables
Fix the repetition of the NET symbol. It was once in UML specific options and once in networking. I removed the first occurrence, as it makes more sense to me to keep it only in networking. It also removes a mostly empty file which is not used anymore and some unused variables. Signed-off-by: Karol Swietlicki <magotari@gmail.com> Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers')
-rw-r--r--arch/um/drivers/mconsole_kern.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c
index 0f3c7d14a6e3..fabd75f5bb5c 100644
--- a/arch/um/drivers/mconsole_kern.c
+++ b/arch/um/drivers/mconsole_kern.c
@@ -741,7 +741,6 @@ void mconsole_stack(struct mc_request *req)
741{ 741{
742 char *ptr = req->request.data; 742 char *ptr = req->request.data;
743 int pid_requested= -1; 743 int pid_requested= -1;
744 struct task_struct *from = NULL;
745 struct task_struct *to = NULL; 744 struct task_struct *to = NULL;
746 745
747 /* 746 /*
@@ -763,8 +762,6 @@ void mconsole_stack(struct mc_request *req)
763 return; 762 return;
764 } 763 }
765 764
766 from = current;
767
768 to = find_task_by_pid(pid_requested); 765 to = find_task_by_pid(pid_requested);
769 if ((to == NULL) || (pid_requested == 0)) { 766 if ((to == NULL) || (pid_requested == 0)) {
770 mconsole_reply(req, "Couldn't find that pid", 1, 0); 767 mconsole_reply(req, "Couldn't find that pid", 1, 0);