From: Zile Xiong <xiongzile99@gmail.com>
To: gregkh@linuxfoundation.org
Cc: ovidiu.panait.oss@gmail.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org, Zile Xiong <xiongzile99@gmail.com>
Subject: [PATCH] staging: axis-fifo: remove redundant comments for mutex fields
Date: Fri, 20 Mar 2026 12:40:40 +0800 [thread overview]
Message-ID: <20260320044040.21149-1-xiongzile99@gmail.com> (raw)
Remove redundant comments for read_lock and write_lock, as the
field names already clearly describe their purpose.
Signed-off-by: Zile Xiong <xiongzile99@gmail.com>
---
drivers/staging/axis-fifo/axis-fifo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index 3aa2aa870ea9..ad98d5eb7751 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -75,9 +75,9 @@ struct axis_fifo {
u32 has_tx_fifo;
wait_queue_head_t read_queue;
- struct mutex read_lock; /* lock for reading */
+ struct mutex read_lock;
wait_queue_head_t write_queue;
- struct mutex write_lock; /* lock for writing */
+ struct mutex write_lock;
struct device *dt_device;
struct miscdevice miscdev;
--
2.39.5
next reply other threads:[~2026-03-20 4:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-20 4:40 Zile Xiong [this message]
2026-03-20 9:35 ` [PATCH] staging: axis-fifo: remove redundant comments for mutex fields Dan Carpenter
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=20260320044040.21149-1-xiongzile99@gmail.com \
--to=xiongzile99@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=ovidiu.panait.oss@gmail.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