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));