[2.6 patch] NTFS: remove an unused function

From: Adrian Bunk
Date: Thu Oct 28 2004 - 19:33:14 EST


[ this time without the problems due to a digital signature... ]

The patch below removes an unused function from fs/ntfs/runlist.c


diffstat output:
fs/ntfs/runlist.c | 24 ------------------------
1 files changed, 24 deletions(-)


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm1-full/fs/ntfs/runlist.c.old 2004-10-28 22:46:08.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/fs/ntfs/runlist.c 2004-10-28 22:46:38.000000000 +0200
@@ -140,30 +140,6 @@
}

/**
- * 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.
- *
- * It is up to the caller to serialize access to the runlists @dst and @src.
- *
- * 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_are_rl_mergeable(dst, src);
-
- if (merge)
- __ntfs_rl_merge(dst, src);
- return merge;
-}
-
-/**
* ntfs_rl_append - append a runlist after a given element
* @dst: original runlist to be worked on
* @dsize: number of elements in @dst (including end marker)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/