aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2024-01-03 13:44:43 -0500
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2024-01-05 23:24:20 -0500
commit8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67 (patch)
tree5c9a24442209715dcb98f8f37b93a16f434e95cc
parentbcachefs: Combine .trans_trigger, .atomic_trigger (diff)
downloadlinux-8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67.tar.gz
linux-8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67.tar.bz2
linux-8a0dda6fd6b7af2a7aa797762148b8ecb8f47a67.zip
bcachefs: kill useless return ret
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-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;
}