From 415693011cdf43a19609f11ec136961a7f22d3bd Mon Sep 17 00:00:00 2001 From: "(none)!yura" <(none)!yura> Date: Sat, 30 Oct 2004 12:47:27 +0000 Subject: [PATCH] Remove unused function ntfs_rl_merge. (Thanks to Adrian Bunk for spoting it) (Logical change 1.621) --- libntfs/runlist.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/libntfs/runlist.c b/libntfs/runlist.c index 6d43ae4e..1fe92da4 100644 --- a/libntfs/runlist.c +++ b/libntfs/runlist.c @@ -138,31 +138,6 @@ static __inline__ void __ntfs_rl_merge(runlist_element *dst, dst->length += src->length; } -/** - * Internal: - * - * ntfs_rl_merge - test if two runlists can be joined together and merge them - * @dst: original, destination runlist - * @src: new runlist to merge with @dst - * - * Test if two runlists can be joined together. For this, their VCNs and LCNs - * must be adjacent. If they can be merged, perform the merge, writing into - * the destination runlist @dst. - * - * Return: TRUE Success, the runlists have been merged. - * FALSE Failure, the runlists cannot be merged and have not been - * modified. - */ -static __inline__ BOOL ntfs_rl_merge(runlist_element *dst, - runlist_element *src) -{ - BOOL merge = ntfs_rl_are_mergeable(dst, src); - - if (merge) - __ntfs_rl_merge(dst, src); - return merge; -} - /** * Internal: *