summaryrefslogtreecommitdiffstats
path: root/include/linux/dynamic_debug.h
diff options
context:
space:
mode:
authorJoe Perches2012-10-18 21:07:03 +0200
committerGreg Kroah-Hartman2012-10-25 00:57:14 +0200
commitc0d2af637863940b1a4fb208224ca7acb905c39f (patch)
tree2a8b296c6ee19659da1f7abb0c6f0b784ba8408d /include/linux/dynamic_debug.h
parentfirmware loader: sync firmware cache by async_synchronize_full_domain (diff)
downloadkernel-qcow2-linux-c0d2af637863940b1a4fb208224ca7acb905c39f.tar.gz
kernel-qcow2-linux-c0d2af637863940b1a4fb208224ca7acb905c39f.tar.xz
kernel-qcow2-linux-c0d2af637863940b1a4fb208224ca7acb905c39f.zip
dynamic_debug: Remove unnecessary __used
The __used attribute prevents gcc from eliminating unnecessary, otherwise optimized away, metadata for debugging logging messages. Remove the __used attribute. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Jason Baron <jbaron@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dynamic_debug.h')
-rw-r--r--include/linux/dynamic_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index c18257b0fa72..6dd4787a798a 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -61,7 +61,7 @@ int __dynamic_netdev_dbg(struct _ddebug *descriptor,
const char *fmt, ...);
#define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \
- static struct _ddebug __used __aligned(8) \
+ static struct _ddebug __aligned(8) \
__attribute__((section("__verbose"))) name = { \
.modname = KBUILD_MODNAME, \
.function = __func__, \