diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index c8a328ee2c2a..39d84d379bbd 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -863,7 +863,7 @@ xfs_mountfs(
 	     !mp->m_sb.sb_inprogress) {
 		error = xfs_initialize_perag_data(mp, sbp->sb_agcount);
 		if (error)
-			goto out_log_dealloc;;
+			goto out_log_dealloc;
 	}
 
 	/*