xfs: remove unused __xfs_defer_cancel() internal helper

With no more external dfops users, there is no need for an
xfs_defer_ops cancel wrapper.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Brian Foster
2018-08-01 07:20:30 -07:00
committed by Darrick J. Wong
parent fbfa977d25
commit 7279aa13b8
4 changed files with 4 additions and 13 deletions

View File

@@ -465,9 +465,10 @@ xfs_defer_finish(
* Free up any items left in the list.
*/
void
__xfs_defer_cancel(
struct xfs_defer_ops *dop)
xfs_defer_cancel(
struct xfs_trans *tp)
{
struct xfs_defer_ops *dop = tp->t_dfops;
struct xfs_defer_pending *dfp;
struct xfs_defer_pending *pli;
struct list_head *pwi;