Re: [PATCH] xfs: remove unused variable from xfs_dir2_block_lookup_int

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 12, 2019 at 08:13:10PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> Remove an unused variable.

NAK, I'll just roll this into the devirtualize m_dirops patch.

--D

> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> ---
>  fs/xfs/libxfs/xfs_dir2_block.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/fs/xfs/libxfs/xfs_dir2_block.c b/fs/xfs/libxfs/xfs_dir2_block.c
> index f9d83205659e..328a8dd53a22 100644
> --- a/fs/xfs/libxfs/xfs_dir2_block.c
> +++ b/fs/xfs/libxfs/xfs_dir2_block.c
> @@ -660,13 +660,11 @@ xfs_dir2_block_lookup_int(
>  	int			high;		/* binary search high index */
>  	int			low;		/* binary search low index */
>  	int			mid;		/* binary search current idx */
> -	xfs_mount_t		*mp;		/* filesystem mount point */
>  	xfs_trans_t		*tp;		/* transaction pointer */
>  	enum xfs_dacmp		cmp;		/* comparison result */
>  
>  	dp = args->dp;
>  	tp = args->trans;
> -	mp = dp->i_mount;
>  
>  	error = xfs_dir3_block_read(tp, dp, &bp);
>  	if (error)



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux