From: Sergey Senozhatsky Date: Thu, 25 Jun 2015 22:00:27 +0000 (-0700) Subject: zram: cosmetic zram_bvec_write() cleanup X-Git-Tag: omap-for-v4.2/fixes-rc1^2~106^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17162f41f04a3ba5a6b887a8e8e7f78159fa4a70;p=pandora-kernel.git 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 Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed