Btrfs: remove non-sense btrfs_error_discard_extent() function
authorFilipe Manana <fdmanana@suse.com>
Mon, 8 Dec 2014 14:01:12 +0000 (14:01 +0000)
committerChris Mason <clm@fb.com>
Wed, 10 Dec 2014 20:22:32 +0000 (12:22 -0800)
commit1edb647bb95439d90c0017e9ca23c4ecf00a0409
treef73ba2db682e7352bf92d10eaa60956f285b3f84
parent678886bdc6378c1cbd5072da2c5a3035000214e3
Btrfs: remove non-sense btrfs_error_discard_extent() function

It doesn't do anything special, it just calls btrfs_discard_extent(),
so just remove it.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c