From e37abe9725bf45b292d5653cc02bbd791773c205 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 4 Apr 2018 17:20:52 +0200 Subject: btrfs: open code btrfs_dev_replace_stats_inc The wrapper is too trivial, open coding does not make it less readable. Reviewed-by: Omar Sandoval Reviewed-by: Anand Jain Signed-off-by: David Sterba --- fs/btrfs/dev-replace.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fs/btrfs/dev-replace.h') diff --git a/fs/btrfs/dev-replace.h b/fs/btrfs/dev-replace.h index 39f022c457ff..1c91bf9ef39a 100644 --- a/fs/btrfs/dev-replace.h +++ b/fs/btrfs/dev-replace.h @@ -29,9 +29,4 @@ void btrfs_dev_replace_write_lock(struct btrfs_dev_replace *dev_replace); void btrfs_dev_replace_write_unlock(struct btrfs_dev_replace *dev_replace); void btrfs_dev_replace_set_lock_blocking(struct btrfs_dev_replace *dev_replace); -static inline void btrfs_dev_replace_stats_inc(atomic64_t *stat_value) -{ - atomic64_inc(stat_value); -} - #endif -- cgit v1.2.3-73-gaa49b