diff options
author | 2015-06-25 15:00:27 -0700 | |
---|---|---|
committer | 2015-06-25 17:00:36 -0700 | |
commit | 17162f41f04a3ba5a6b887a8e8e7f78159fa4a70 (patch) | |
tree | 57462ac2bba440e78effd88ec27363f1af7ee4b6 /drivers/usb/misc/lvstest.c | |
parent | zram: add dynamic device add/remove functionality (diff) | |
download | wireguard-linux-17162f41f04a3ba5a6b887a8e8e7f78159fa4a70.tar.xz wireguard-linux-17162f41f04a3ba5a6b887a8e8e7f78159fa4a70.zip |
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 'drivers/usb/misc/lvstest.c')
0 files changed, 0 insertions, 0 deletions