From: Anand Jain Date: Wed, 16 Mar 2016 08:43:07 +0000 (+0800) Subject: btrfs: remove unused function btrfs_assert() X-Git-Tag: v4.7-rc1~85^2~1^2~2^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2351d743f6b69d289f04246127c9d92516621974;p=karo-tx-linux.git btrfs: remove unused function btrfs_assert() Apparently looks like ASSERT does the same intended job, as intended btrfs_assert(). Signed-off-by: Anand Jain Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 12f80cd230ab..4f37e3766626 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -4326,7 +4326,6 @@ static inline void assfail(char *expr, char *file, int line) #define ASSERT(expr) ((void)0) #endif -#define btrfs_assert() __printf(5, 6) __cold void __btrfs_handle_fs_error(struct btrfs_fs_info *fs_info, const char *function,