diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-10-20 06:40:55 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-10-20 06:40:55 +0200 |
commit | 1d55a4bfd080ff4c6c96acfccfb7cdd2615ed6c2 (patch) | |
tree | 9eef5f1baa3ead5d977d1a07e0dab70c8e2a9be7 /fs | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-1d55a4bfd080ff4c6c96acfccfb7cdd2615ed6c2.tar.xz linux-1d55a4bfd080ff4c6c96acfccfb7cdd2615ed6c2.zip |
xfs: remove redundant assignment of ifp
Remove redundant ifp = ifp statement, it does nothing. Found with
static analysis by CoverityScan.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index c27344cf38e1..0283b7eaf973 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c @@ -5204,7 +5204,7 @@ xfs_bunmapi_cow( ep = xfs_bmap_search_extents(ip, del->br_startoff, XFS_COW_FORK, &eof, &eidx, &got, &new); - ifp = XFS_IFORK_PTR(ip, XFS_COW_FORK); ifp = ifp; + ifp = XFS_IFORK_PTR(ip, XFS_COW_FORK); ASSERT((eidx >= 0) && (eidx < ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t))); ASSERT(del->br_blockcount > 0); |