From ab1405aa2522ae61958fc874432bce24d48942b1 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 29 Sep 2020 14:56:39 +0200 Subject: btrfs: generate lockdep keyset names at compile time The names in btrfs_lockdep_keysets are generated from a simple pattern using snprintf but we can generate them directly with some macro magic and remove the helpers. Reviewed-by: Josef Bacik Signed-off-by: David Sterba --- fs/btrfs/super.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fs/btrfs/super.c') diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 1ffa50bae1dd..9f51b0a22b14 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -2572,8 +2572,6 @@ static int __init init_btrfs_fs(void) if (err) goto free_end_io_wq; - btrfs_init_lockdep(); - btrfs_print_mod_info(); err = btrfs_run_sanity_tests(); -- cgit v1.2.3