Browse Source

xfs: remove unused trans pointer arg from xlog_recover_unmount_trans()

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Eric Sandeen 11 years ago
parent
commit
bbe4c66869
1 changed files with 2 additions and 3 deletions
  1. 2 3
      fs/xfs/xfs_log_recover.c

+ 2 - 3
fs/xfs/xfs_log_recover.c

@@ -3520,8 +3520,7 @@ out:
 
 
 STATIC int
 STATIC int
 xlog_recover_unmount_trans(
 xlog_recover_unmount_trans(
-	struct xlog		*log,
-	struct xlog_recover	*trans)
+	struct xlog		*log)
 {
 {
 	/* Do nothing now */
 	/* Do nothing now */
 	xfs_warn(log->l_mp, "%s: Unmount LR", __func__);
 	xfs_warn(log->l_mp, "%s: Unmount LR", __func__);
@@ -3595,7 +3594,7 @@ xlog_recover_process_data(
 								trans, pass);
 								trans, pass);
 				break;
 				break;
 			case XLOG_UNMOUNT_TRANS:
 			case XLOG_UNMOUNT_TRANS:
-				error = xlog_recover_unmount_trans(log, trans);
+				error = xlog_recover_unmount_trans(log);
 				break;
 				break;
 			case XLOG_WAS_CONT_TRANS:
 			case XLOG_WAS_CONT_TRANS:
 				error = xlog_recover_add_to_cont_trans(log,
 				error = xlog_recover_add_to_cont_trans(log,