summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-10-20 18:10:59 +0300
committerDavid Sterba <dsterba@suse.com>2018-01-22 16:08:11 +0100
commitac244ef1da76383842a9a4c3404e35d0669f2e53 (patch)
tree028fc4cc066d2109c8b18297d670d3be085d2c8f /fs/btrfs/volumes.h
parent4660c49f9b4ad50eab410de09eeacc2e3aebf1f5 (diff)
downloadlinux-ac244ef1da76383842a9a4c3404e35d0669f2e53.tar.gz
linux-ac244ef1da76383842a9a4c3404e35d0669f2e53.tar.bz2
linux-ac244ef1da76383842a9a4c3404e35d0669f2e53.zip
btrfs: Remove unused function
It's sole callsite was removed in a previous patch so just nuke it for good. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 177814a7c758..294c4eb6a272 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -488,11 +488,6 @@ int btrfs_finish_chunk_alloc(struct btrfs_trans_handle *trans,
int btrfs_remove_chunk(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info, u64 chunk_offset);
-static inline int btrfs_dev_stats_dirty(struct btrfs_device *dev)
-{
- return atomic_read(&dev->dev_stats_ccnt);
-}
-
static inline void btrfs_dev_stat_inc(struct btrfs_device *dev,
int index)
{