summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorJoel Fernandes <joelagnelf@nvidia.com>2026-01-23 17:30:31 +0300
committerBoqun Feng <boqun.feng@gmail.com>2026-01-23 22:12:25 +0300
commitcc74050f13e5f15de7835b96d633484dd6776f53 (patch)
treee9a0b1277465ce92fbf5173195202ce0eb3141b7 /include/linux/zstd_errors.h
parentb11c1efa7ffedbb3e880d31370d2cb37394ef9f4 (diff)
downloadlinux-cc74050f13e5f15de7835b96d633484dd6776f53.tar.xz
rcu/nocb: Extract nocb_defer_wakeup_cancel() helper
The pattern of checking nocb_defer_wakeup and deleting the timer is duplicated in __wake_nocb_gp() and nocb_gp_wait(). Extract this into a common helper function nocb_defer_wakeup_cancel(). This removes code duplication and makes it easier to maintain. Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Reviewed-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions