]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xfs: remove unused trans pointer arg from xlog_recover_unmount_trans()
authorEric Sandeen <sandeen@redhat.com>
Mon, 14 Apr 2014 09:06:25 +0000 (19:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 14 Apr 2014 09:06:25 +0000 (19:06 +1000)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log_recover.c

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