bcachefs: kill useless return ret
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 3 Jan 2024 18:44:43 +0000 (13:44 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 6 Jan 2024 04:24:20 +0000 (23:24 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/debug.c

index de5bfc0d46844166b3543b4bf3ee1a7a841bbc3a..413992b229d0e8bfb24ea85920ba6fac899951de 100644 (file)
@@ -930,8 +930,6 @@ void bch2_debug_exit(void)
 
 int __init bch2_debug_init(void)
 {
-       int ret = 0;
-
        bch_debug = debugfs_create_dir("bcachefs", NULL);
-       return ret;
+       return 0;
 }