All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Dan Carpenter <dan.carpenter@linaro.org>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>,
	Ingo Molnar <mingo@kernel.org>,
	Simon Schuster <schuster.simon@siemens-energy.com>,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] rseq: Delete duplicate if statement in rseq_virt_userspace_exit()
Date: Tue, 18 Nov 2025 15:58:04 +0100	[thread overview]
Message-ID: <87v7j75qwz.ffs@tglx> (raw)
In-Reply-To: <aRxP3YcwscrP1BU_@stanley.mountain>

On Tue, Nov 18 2025 at 13:52, Dan Carpenter wrote:
> This if statement is indented weirdly.  It's a duplicate and doesn't
> affect runtime (beyond wasting a little time).  Delete it.

It's actually optimized out by the compiler in both cases, but yes
that's an odd one and likely a reject fixup artifact.

Thanks for detecting it!

      parent reply	other threads:[~2025-11-18 14:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-18 10:52 [PATCH] rseq: Delete duplicate if statement in rseq_virt_userspace_exit() Dan Carpenter
2025-11-18 14:57 ` [tip: core/rseq] " tip-bot2 for Dan Carpenter
2025-11-18 14:58 ` Thomas Gleixner [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=87v7j75qwz.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=dan.carpenter@linaro.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=schuster.simon@siemens-energy.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.