aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2020-08-25 08:09:40 -0700
committerPaul E. McKenney <[email protected]>2020-09-16 16:32:36 -0700
commit78edc005f477a4987ee0a5d96bfe117295c231fd (patch)
treee7874895e7bacc7625dbfe62aaf76ff082ef88d9 /net/switchdev/switchdev.c
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
rcu-tasks: Prevent complaints of unused show_rcu_tasks_classic_gp_kthread()
Commit 8344496e8b49 ("rcu-tasks: Conditionally compile show_rcu_tasks_gp_kthreads()") introduced conditional compilation of several functions, but forgot one occurrence of show_rcu_tasks_classic_gp_kthread() that causes the compiler to warn of an unused static function. This commit uses "static inline" to avoid these complaints and possibly also to avoid emitting an actual definition of this function. Fixes: 8344496e8b49 ("rcu-tasks: Conditionally compile show_rcu_tasks_gp_kthreads()") Cc: <[email protected]> # 5.8.x Reported-by: Laurent Pinchart <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions