summaryrefslogtreecommitdiffstats
path: root/fs/ext4/migrate.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-02-20 17:53:05 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-02-20 17:53:05 -0500
commit4fda400360e6c15b9dea4351f2ad85845cdfda7e (patch)
treee8759a08bd2bd0947477a22b6550477ca9c03932 /fs/ext4/migrate.c
parentf1b3a2a75356ce9fdcbedd79d2bb0d1ca8ed9cee (diff)
downloadlinux-4fda400360e6c15b9dea4351f2ad85845cdfda7e.tar.gz
linux-4fda400360e6c15b9dea4351f2ad85845cdfda7e.tar.bz2
linux-4fda400360e6c15b9dea4351f2ad85845cdfda7e.zip
ext4: remove an unneeded NULL check in __ext4_check_dir_entry()
We dereference "bh" unconditionally a couple lines down to find "by->b_size". This function is never called with a NULL "bh" so I have removed the check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/migrate.c')
0 files changed, 0 insertions, 0 deletions