diff options
author | Marco Elver <elver@google.com> | 2020-08-10 10:06:25 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-08-24 15:10:23 -0700 |
commit | 2e986b81f698e73c95e6456183f27b861f47bb87 (patch) | |
tree | 9a839aaf053ad9afb3de552674d66cd9a40bfda5 /init/calibrate.c | |
parent | 178a1877d782c034f466edd80e30a107af5469df (diff) |
kcsan: Optimize debugfs stats counters
Remove kcsan_counter_inc/dec() functions, as they perform no other
logic, and are no longer needed.
This avoids several calls in kcsan_setup_watchpoint() and
kcsan_found_watchpoint(), as well as lets the compiler warn us about
potential out-of-bounds accesses as the array's size is known at all
usage sites at compile-time.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions