Re: [PATCH] Remove unused variables

2020-09-03 Thread Anant Thazhemadam
This patch was generated, and sent by a script I was working on (and apparently, still am), that would run sparse, detect unused variables and eliminate them. However, upon manual inspection, it became clear to me that these functions are in fact necessary. I'm sorry this mistake happened. Kindly i

[PATCH] Remove unused variables

2020-09-03 Thread Anant Thazhemadam
A few unused variables that were defined were found and removed. Signed-off-by: Anant Thazhemadam --- drivers/staging/comedi/drivers/dt2814.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2814.c b/drivers/staging/comedi/drivers/dt2814.c index bcf4d5444faf

[PATCH] Remove unused variables from fs/proc/base.c

2007-08-23 Thread Pavel Emelyanov
When removing the explicit task_struct->pid usage I found that proc_readfd_common() and proc_pident_readdir() get this field, but do not use it at all. So this cleanup is a cheap help with the task_struct->pid isolation. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- fs/proc/base.c |