aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2021-01-22 09:43:20 +0100
committerMike Snitzer <[email protected]>2021-02-03 10:12:31 -0500
commit831475cc0b40f41c886ceb7b25de2598719a5478 (patch)
treea92a2e59de2de8e0f6c51d3a107b6f63de96549c /tools/perf/util/scripting-engines/trace-event-python.c
parent21ec672ecf18dd80e58936b0687da9098913c810 (diff)
dm crypt: replaced #if defined with IS_ENABLED
IS_ENABLED(CONFIG_ENCRYPTED_KEYS) is true whether the option is built-in or a module, so use it instead of #if defined checking for each separately. The other #if was to avoid a static function defined, but unused warning. As we now always build the callsite when the function is defined, we can remove that first #if guard. Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Ahmad Fatoum <[email protected]> Acked-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions