@@ -4,7 +4,6 @@ use core::cmp;
4
4
use std:: collections:: { BTreeMap , BTreeSet , HashMap } ;
5
5
6
6
use indexmap:: { IndexMap , IndexSet } ;
7
- use quote:: format_ident;
8
7
use syn:: { Ident , Type } ;
9
8
10
9
use crate :: {
@@ -60,12 +59,6 @@ pub(crate) fn app(app: &App) -> Result<Analysis, syn::Error> {
60
59
} ) )
61
60
. collect ( ) ;
62
61
63
- // Create the list of task Idents
64
- let tasks: Vec < _ > = task_resources_list
65
- . iter ( )
66
- . map ( |x| format_ident ! ( "{}" , x. 0 ) )
67
- . collect ( ) ;
68
-
69
62
let mut error = vec ! [ ] ;
70
63
let mut lf_res_with_error = vec ! [ ] ;
71
64
let mut lf_hash = HashMap :: new ( ) ;
@@ -283,7 +276,6 @@ pub(crate) fn app(app: &App) -> Result<Analysis, syn::Error> {
283
276
channels,
284
277
shared_resources : used_shared_resource,
285
278
local_resources : used_local_resource,
286
- tasks,
287
279
ownerships,
288
280
send_types,
289
281
sync_types,
@@ -302,9 +294,6 @@ pub type Resource = Ident;
302
294
/// Task name
303
295
pub type Task = Ident ;
304
296
305
- /// List of tasks names
306
- pub type Tasks = Vec < Ident > ;
307
-
308
297
/// The result of analyzing an RTIC application
309
298
pub struct Analysis {
310
299
/// SPSC message channels
@@ -322,9 +311,6 @@ pub struct Analysis {
322
311
/// accessed) resource and the backend should not generate code for it
323
312
pub local_resources : UsedLocalResource ,
324
313
325
- /// A vector containing all task names
326
- pub tasks : Tasks ,
327
-
328
314
/// Resource ownership
329
315
pub ownerships : Ownerships ,
330
316
0 commit comments