summaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2010-06-21 11:02:48 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:23:12 +0200
commit1676effca4cd2a6b32e6e8e0ecaa91522dfda6fa (patch)
tree7d570c366f6d968a74c39406052d6dd0223e4881 /include/linux/audit.h
parentgcc-4.6: block: fix unused but set variables in blk-merge (diff)
downloadlinux-1676effca4cd2a6b32e6e8e0ecaa91522dfda6fa.tar.xz
linux-1676effca4cd2a6b32e6e8e0ecaa91522dfda6fa.zip
gcc-4.6: fs: fix unused but set warnings
No real bugs I believe, just some dead code, and some shut up code. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to '')
-rw-r--r--include/linux/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index f391d45c8aea..e24afabc548f 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -544,7 +544,7 @@ extern int audit_signals;
#define audit_putname(n) do { ; } while (0)
#define __audit_inode(n,d) do { ; } while (0)
#define __audit_inode_child(i,p) do { ; } while (0)
-#define audit_inode(n,d) do { ; } while (0)
+#define audit_inode(n,d) do { (void)(d); } while (0)
#define audit_inode_child(i,p) do { ; } while (0)
#define audit_core_dumps(i) do { ; } while (0)
#define auditsc_get_stamp(c,t,s) (0)