diff options
author | 2017-09-06 14:26:01 +0800 | |
---|---|---|
committer | 2017-09-06 08:17:33 -0600 | |
commit | 7b6a8570e02a20d0b6cadb9689e4b2e6217c390c (patch) | |
tree | 9bf6640a97fc715dfce2f9957c620e3487517594 /drivers/md | |
parent | bcache: silence static checker warning (diff) | |
download | linux-7b6a8570e02a20d0b6cadb9689e4b2e6217c390c.tar.gz linux-7b6a8570e02a20d0b6cadb9689e4b2e6217c390c.tar.bz2 linux-7b6a8570e02a20d0b6cadb9689e4b2e6217c390c.zip |
bcache: Update continue_at() documentation
continue_at() doesn't have a return statement anymore.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Coly Li <colyli@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/bcache/closure.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/md/bcache/closure.h b/drivers/md/bcache/closure.h index 1ec84ca81146..295b7e43f92c 100644 --- a/drivers/md/bcache/closure.h +++ b/drivers/md/bcache/closure.h @@ -312,8 +312,6 @@ static inline void closure_wake_up(struct closure_waitlist *list) * been dropped with closure_put()), it will resume execution at @fn running out * of @wq (or, if @wq is NULL, @fn will be called by closure_put() directly). * - * NOTE: This macro expands to a return in the calling function! - * * This is because after calling continue_at() you no longer have a ref on @cl, * and whatever @cl owns may be freed out from under you - a running closure fn * has a ref on its own closure which continue_at() drops. @@ -340,8 +338,6 @@ do { \ * Causes @fn to be executed out of @cl, in @wq context (or called directly if * @wq is NULL). * - * NOTE: like continue_at(), this macro expands to a return in the caller! - * * The ref the caller of continue_at_nobarrier() had on @cl is now owned by @fn, * thus it's not safe to touch anything protected by @cl after a * continue_at_nobarrier(). |