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 lidza.lou...@gmail.com --- drivers/staging/dgnc/dgnc_mgmt.c | 1 - 1 file changed, 1

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 dan.carpen...@oracle.com 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