]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
btrfs: remove unused function btrfs_assert()
authorAnand Jain <anand.jain@oracle.com>
Wed, 16 Mar 2016 08:43:07 +0000 (16:43 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 28 Apr 2016 08:36:54 +0000 (10:36 +0200)
Apparently looks like ASSERT does the same intended job,
as intended btrfs_assert().

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h

index 12f80cd230abd41dfca31becb7c6ae7fa8158675..4f37e3766626320d8b667a092eba7c18d2259c87 100644 (file)
@@ -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,