From 12ef361436bf0dc3140f4be0d5371d59894a63fe Mon Sep 17 00:00:00 2001 From: Naoki Hamada Date: Thu, 4 Sep 2014 15:04:22 +0900 Subject: [PATCH] Removed unneeded variable. --- executer/kernel/procfs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/executer/kernel/procfs.c b/executer/kernel/procfs.c index 2eacc10a..664ffd0d 100644 --- a/executer/kernel/procfs.c +++ b/executer/kernel/procfs.c @@ -256,8 +256,6 @@ void procfs_answer(unsigned int arg, int err) * from linux-2.6.39.4. */ -static void *channel; - int mckernel_procfs_read(char *buffer, char **start, off_t offset, int count, int *peof, void *dat) { @@ -298,7 +296,6 @@ retry: if (ret < 0) { return ret; /* error */ } - channel = NULL; /* Wait for a reply. */ dprintk("now wait for a relpy\n"); wait_event_interruptible(procfsq, procfsq_channel == virt_to_phys(r));