[PATCH 6/6]afs:fsclient.c Fix variable 'bp' set but not used

2010-06-11 Thread Justin P. Mattock
This fixes this warning message I'm getting: CC [M] fs/afs/fsclient.o fs/afs/fsclient.c: In function 'afs_deliver_fs__lock': fs/afs/fsclient.c:1759:16: warning: variable 'bp' set but not used CC [M] fs/afs/inode.o Signed-off-by: Justin P. Mattock justinmatt...@gmail.com ---

[PATCH 2/6]kernel:audit.c Fix warning: variable 'nlh' set but not used

2010-06-11 Thread Justin P. Mattock
Removing dead code(hopefully), fixes a warning when compiling the kernel. CC kernel/audit.o kernel/audit.c: In function 'audit_buffer_alloc': kernel/audit.c:1044:19: warning: variable 'nlh' set but not used CC kernel/auditfilter.o Signed-off-by: Justin P. Mattock

Re: [PATCH 5/6]kernel:module.c variable 'nowarn' set but not used

2010-06-11 Thread Justin P. Mattock
On 06/11/2010 02:17 PM, Geert Uytterhoeven wrote: On Fri, Jun 11, 2010 at 22:41, Justin P. Mattock justinmatt...@gmail.com wrote: The below patch fixes a warning message reported by gcc 4.6.0. CC kernel/module.o kernel/module.c: In function 'add_usage_links': kernel/module.c:1343:6: