summaryrefslogtreecommitdiff
path: root/firmware/include/asm
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-09 23:24:14 +0100
committerHarald Welte <laforge@gnumonks.org>2011-11-10 07:33:55 +0100
commit1532eb49f4b85fbeb96db74689d99b968788952b (patch)
treec4d5ebe36b0292b30c7488e6ce60990db48184dd /firmware/include/asm
parentc6f26629d28f07b8f0a8482924ff049f4ec7506d (diff)
dfu: Mark unsued variables as __unused for now
Diffstat (limited to 'firmware/include/asm')
-rw-r--r--firmware/include/asm/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/asm/compiler.h b/firmware/include/asm/compiler.h
index de4dfaa..08b6bae 100644
--- a/firmware/include/asm/compiler.h
+++ b/firmware/include/asm/compiler.h
@@ -4,4 +4,6 @@
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
+#define __unused __attribute__((unused))
+
#endif
personal git repositories of Harald Welte. Your mileage may vary