linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfs: remove unused variable from xfs_dir2_block_lookup_int
@ 2019-11-13  4:13 Darrick J. Wong
  2019-11-13  4:23 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Darrick J. Wong @ 2019-11-13  4:13 UTC (permalink / raw)
  To: xfs

From: Darrick J. Wong <darrick.wong@oracle.com>

Remove an unused variable.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfs: remove unused variable from xfs_dir2_block_lookup_int
  2019-11-13  4:13 [PATCH] xfs: remove unused variable from xfs_dir2_block_lookup_int Darrick J. Wong
@ 2019-11-13  4:23 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2019-11-13  4:23 UTC (permalink / raw)
  To: xfs

On Tue, Nov 12, 2019 at 08:13:10PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> 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@oracle.com>
> ---
>  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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-13  4:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13  4:13 [PATCH] xfs: remove unused variable from xfs_dir2_block_lookup_int Darrick J. Wong
2019-11-13  4:23 ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).