public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: xfs <linux-xfs@vger.kernel.org>
Subject: Re: [PATCH] xfs: remove unused variable from xfs_dir2_block_lookup_int
Date: Tue, 12 Nov 2019 20:23:15 -0800	[thread overview]
Message-ID: <20191113042315.GI6219@magnolia> (raw)
In-Reply-To: <20191113041310.GG6219@magnolia>

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)

      reply	other threads:[~2019-11-13  4:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191113042315.GI6219@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox