aboutsummaryrefslogtreecommitdiff
path: root/include/linux/task_work.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-06-25 15:00:27 -0700
committerMister Oyster <oysterized@gmail.com>2017-09-25 20:40:43 +0200
commit1a3bdf477a61e306e46c8a93c1526b8765facb12 (patch)
tree10bf1d56429d02405ff15fb328b7cb60f036e87f /include/linux/task_work.h
parent3f8e08a0db51a3e1464f39b9a0cdc4a5ff5550ec (diff)
zram: cosmetic zram_bvec_write() cleanup
`bool locked' local variable tells us if we should perform zcomp_strm_release() or not (jumped to `out' label before zcomp_strm_find() occurred), which is equivalent to `zstrm' being or not being NULL. remove `locked' and check `zstrm' instead. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions