]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
btrfs: remove remaining unused message helpers
authorDavid Sterba <dsterba@suse.com>
Mon, 9 Jun 2025 17:09:29 +0000 (19:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:56:39 +0000 (23:56 +0200)
Remove the critical level message helpers as they're not used, the RCU
protection is provided by the plain helpers.

Reviewed-by: Daniel Vacek <neelx@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/messages.h

index 659889faec85187a66d68657a1f3c175a0b0d06b..9b78600efe0eb1afaccf5456d75f813833ced5c8 100644 (file)
@@ -49,18 +49,6 @@ void _btrfs_printk(const struct btrfs_fs_info *fs_info, const char *fmt, ...);
 #define btrfs_info(fs_info, fmt, args...) \
        btrfs_printk_in_rcu(fs_info, KERN_INFO fmt, ##args)
 
-/*
- * Wrappers that use printk in RCU
- */
-#define btrfs_crit_in_rcu(fs_info, fmt, args...) \
-       btrfs_printk_in_rcu(fs_info, KERN_CRIT fmt, ##args)
-
-/*
- * Wrappers that use a ratelimited printk in RCU
- */
-#define btrfs_crit_rl_in_rcu(fs_info, fmt, args...) \
-       btrfs_printk_rl_in_rcu(fs_info, KERN_CRIT fmt, ##args)
-
 /*
  * Wrappers that use a ratelimited printk
  */