From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH] btrfs: remove duplicated definition of btrfs_printk_in_rcu()
Date: Fri, 27 Feb 2026 12:15:20 +0000 [thread overview]
Message-ID: <826d740b6c68bc0d503bcfdf1d45ba0f38872846.1772194240.git.fdmanana@suse.com> (raw)
From: Filipe Manana <fdmanana@suse.com>
It's defined twice in a row for the !CONFIG_PRINTK case, so remove one
of the duplicates.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
---
fs/btrfs/messages.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fs/btrfs/messages.h b/fs/btrfs/messages.h
index 666b84751f04..556d4e79cde6 100644
--- a/fs/btrfs/messages.h
+++ b/fs/btrfs/messages.h
@@ -28,9 +28,6 @@ void _btrfs_printk(const struct btrfs_fs_info *fs_info, unsigned int level, cons
#else
-#define btrfs_printk_in_rcu(fs_info, level, fmt, args...) \
- btrfs_no_printk(fs_info, fmt, ##args)
-
#define btrfs_printk_in_rcu(fs_info, level, fmt, args...) \
btrfs_no_printk(fs_info, fmt, ##args)
--
2.47.2
next reply other threads:[~2026-02-27 12:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 12:15 fdmanana [this message]
2026-03-02 10:24 ` [PATCH] btrfs: remove duplicated definition of btrfs_printk_in_rcu() Johannes Thumshirn
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=826d740b6c68bc0d503bcfdf1d45ba0f38872846.1772194240.git.fdmanana@suse.com \
--to=fdmanana@kernel.org \
--cc=linux-btrfs@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