tracepoint: Use __used attribute definitions from compiler_attributes.h
authorNick Desaulniers <ndesaulniers@google.com>
Thu, 30 Jul 2020 22:45:55 +0000 (15:45 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 3 Aug 2020 17:34:37 +0000 (13:34 -0400)
commit1c39d761ff5c90227fc582c45018d5922efaa253
tree24467b72cc04210db59c2d0b332f666ab06eb1a7
parentf3751ad0116fb6881f2c3c957d66a9327f69cefb
tracepoint: Use __used attribute definitions from compiler_attributes.h

Just a small cleanup while I was touching this header.
compiler_attributes.h does feature detection of these __attributes__(())
and provides more concise ways to invoke them.

Link: https://lkml.kernel.org/r/20200730224555.2142154-3-ndesaulniers@google.com
Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/tracepoint.h