summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-03 19:44:43 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-06 05:24:20 +0100
commit8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67 (patch)
tree5c9a24442209715dcb98f8f37b93a16f434e95cc /fs/bcachefs/debug.c
parentbcachefs: Combine .trans_trigger, .atomic_trigger (diff)
downloadlinux-8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67.tar.xz
linux-8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67.zip
bcachefs: kill useless return ret
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/debug.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/bcachefs/debug.c b/fs/bcachefs/debug.c
index de5bfc0d4684..413992b229d0 100644
--- a/fs/bcachefs/debug.c
+++ b/fs/bcachefs/debug.c
@@ -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;
}