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)
commitf1b3a2a75356ce9fdcbedd79d2bb0d1ca8ed9cee
tree00491f088a92bd95057d0befabfff7460edf0638
parent661aa520577046192e50467b28c9c5726a8a9fb1
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