From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: lewis.hanly@microchip.com, conor.dooley@microchip.com,
trix@redhat.com, daire.mcnamara@microchip.com,
a.zummo@towertech.it
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-rtc@vger.kernel.org
Subject: Re: [PATCH] rtc: remove 'pending' variable from mpfs_rtc_wakeup_irq_handler()
Date: Tue, 26 Jul 2022 16:22:50 +0200 [thread overview]
Message-ID: <165884535076.3156642.16325816554140473959.b4-ty@bootlin.com> (raw)
In-Reply-To: <20220627205943.2075043-1-trix@redhat.com>
On Mon, 27 Jun 2022 16:59:43 -0400, Tom Rix wrote:
> cppcheck reports
> [drivers/rtc/rtc-mpfs.c:219]: (style) Variable 'pending' is assigned a value that is never used.
>
> The fetched CONTROL_REG stored in pending is unused and partially
> duplicates the functionality of the later call to mpfs_rtc_clear(). This looks
> like leftover development code, so remove pending.
>
> [...]
Applied, thanks!
[1/1] rtc: remove 'pending' variable from mpfs_rtc_wakeup_irq_handler()
commit: 3fa0cb37bda9d45d3c6f07e67051e7118d3ffe63
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2022-07-26 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 20:59 Tom Rix
2022-06-28 7:12 ` Conor.Dooley
2022-07-26 14:22 ` Alexandre Belloni [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=165884535076.3156642.16325816554140473959.b4-ty@bootlin.com \
--to=alexandre.belloni@bootlin.com \
--cc=a.zummo@towertech.it \
--cc=conor.dooley@microchip.com \
--cc=daire.mcnamara@microchip.com \
--cc=lewis.hanly@microchip.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-rtc@vger.kernel.org \
--cc=trix@redhat.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®