projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d9700
)
btrfs: remove unused function btrfs_assert()
author
Anand Jain
<anand.jain@oracle.com>
Wed, 16 Mar 2016 08:43:07 +0000
(16:43 +0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/fs/btrfs/ctree.h
b/fs/btrfs/ctree.h
index
12f80cd
..
4f37e37
100644
(file)
--- 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,