]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove unneeded variable in ext4_xattr_check_block()
authorZheng Liu <wenqing.lz@taobao.com>
Mon, 20 Feb 2012 22:53:05 +0000 (17:53 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Feb 2012 22:53:05 +0000 (17:53 -0500)
commitc2d1b499745de9884464210bda9e3754bf11042e
tree00491f088a92bd95057d0befabfff7460edf0638
parent21adae00fa3bc65f028ce19776e2ce170ecb1eec
ext4: remove unneeded variable in ext4_xattr_check_block()

We could return directly from ext4_xattr_check_block(). Thus, we
shouldn't need to define a 'error' variable.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/xattr.c