mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Carlos Maiolino <cem@kernel.org>
To: Yiqing Wu <wuyiqing@cmss.chinamobile.com>
Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xfs: remove unused variable in xrep_tempfile_copyin()
Date: Wed, 18 Nov 2026 09:58:59 +0100	[thread overview]
Message-ID: <179499233906.5574.7966848291904639925.b4-ty@kernel.org> (raw)
In-Reply-To: <20261116020510.17329-1-wuyiqing@cmss.chinamobile.com>

On Mon, 16 Nov 2026 10:05:10 +0800, Yiqing Wu wrote:
> The pos variable in xrep_tempfile_copyin() is initialized from the
> starting file offset and incremented on every iteration of the copy
> loop, but it is never used.  GCC flags this as a dead assignment when
> building with W=1:
> 
>   fs/xfs/scrub/tempfile.c:493:33: warning: variable pos set but not used [-Wunused-but-set-variable=]
> 
> [...]

Applied to for-next, thanks!

[1/1] xfs: remove unused variable in xrep_tempfile_copyin()
      commit: 5c7da17f904da61c6912ae719e8f3c3eb353ee88

Best regards,
-- 
Carlos Maiolino <cem@kernel.org>


      parent reply	other threads:[~2026-11-18  8:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16  2:05 Yiqing Wu
2026-11-16  6:00 ` Christoph Hellwig
2026-11-18  8:58 ` Carlos Maiolino [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=179499233906.5574.7966848291904639925.b4-ty@kernel.org \
    --to=cem@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=wuyiqing@cmss.chinamobile.com \
    /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

all inboxes | Powered by JetHome®