Re: [PATCH] staging: dgnc: mgmt.c: removes unused variable

2013-08-20 Thread Lidza Louina
On Tue, Aug 20, 2013 at 4:48 AM, Dan Carpenter wrote: > The ifdef here is to support older kernels which don't have the > the ->unlocked_ioctl function pointer. We don't care about older > kernels so we could delete the #else side of this and remove the > #ifdef. > > You can do that in a later pa

Re: [PATCH] staging: dgnc: mgmt.c: removes unused variable

2013-08-20 Thread Dan Carpenter
On Tue, Aug 20, 2013 at 12:19:38AM -0400, Lidza Louina wrote: > This patch removes the inode variable from the > dgnc_mgmt_ioctl function. It's never used in the > function. > > Signed-off-by: Lidza Louina > --- > drivers/staging/dgnc/dgnc_mgmt.c | 1 - > 1 file changed, 1 deletion(-) > > diff

[PATCH] staging: dgnc: mgmt.c: removes unused variable

2013-08-19 Thread Lidza Louina
This patch removes the inode variable from the dgnc_mgmt_ioctl function. It's never used in the function. Signed-off-by: Lidza Louina --- drivers/staging/dgnc/dgnc_mgmt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_mgmt.c b/drivers/staging/dgnc/dgnc_mgmt.c index