diff options
author | Tejun Heo <tj@kernel.org> | 2014-09-24 19:31:48 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-24 19:31:48 +0200 |
commit | 6251f9976af7656b6970a8820153f356430f5de2 (patch) | |
tree | aa2d83279dfb125b9bbd88083a32bfa5e99bf3da /lib/lru_cache.c | |
parent | percpu_ref: relocate percpu_ref_reinit() (diff) | |
download | linux-6251f9976af7656b6970a8820153f356430f5de2.tar.xz linux-6251f9976af7656b6970a8820153f356430f5de2.zip |
percpu_ref: minor code and comment updates
* Some comments became stale. Updated.
* percpu_ref_tryget() unnecessarily initializes @ret. Removed.
* A blank line removed from percpu_ref_kill_rcu().
* Explicit function name in a WARN format string replaced with __func__.
* WARN_ON() in percpu_ref_reinit() converted to WARN_ON_ONCE().
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions