summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-01-25 17:44:47 +0100
committerDavid Sterba <dsterba@suse.com>2024-03-04 16:24:46 +0100
commit2b712e3bb2c46165a3d35096f37bea6aa47f45d4 (patch)
treed686755c2f322f63791794efcdfba6be0b65f09d /fs/btrfs/disk-io.c
parentdc52796151a7a7c6993c6d17441d75eee467c8a8 (diff)
downloadlinux-2b712e3bb2c46165a3d35096f37bea6aa47f45d4.tar.gz
linux-2b712e3bb2c46165a3d35096f37bea6aa47f45d4.tar.bz2
linux-2b712e3bb2c46165a3d35096f37bea6aa47f45d4.zip
btrfs: remove unused included headers
With help of neovim, LSP and clangd we can identify header files that are not actually needed to be included in the .c files. This is focused only on removal (with minor fixups), further cleanups are possible but will require doing the header files properly with forward declarations, minimized includes and include-what-you-use care. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 751e693be050..d43b5d5df4b4 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -29,7 +29,6 @@
#include "tree-log.h"
#include "free-space-cache.h"
#include "free-space-tree.h"
-#include "rcu-string.h"
#include "dev-replace.h"
#include "raid56.h"
#include "sysfs.h"