@@ -4,7 +4,6 @@ use core::cmp;
44use std:: collections:: { BTreeMap , BTreeSet , HashMap } ;
55
66use indexmap:: { IndexMap , IndexSet } ;
7- use quote:: format_ident;
87use syn:: { Ident , Type } ;
98
109use crate :: {
@@ -60,12 +59,6 @@ pub(crate) fn app(app: &App) -> Result<Analysis, syn::Error> {
6059 } ) )
6160 . collect ( ) ;
6261
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-
6962 let mut error = vec ! [ ] ;
7063 let mut lf_res_with_error = vec ! [ ] ;
7164 let mut lf_hash = HashMap :: new ( ) ;
@@ -283,7 +276,6 @@ pub(crate) fn app(app: &App) -> Result<Analysis, syn::Error> {
283276 channels,
284277 shared_resources : used_shared_resource,
285278 local_resources : used_local_resource,
286- tasks,
287279 ownerships,
288280 send_types,
289281 sync_types,
@@ -302,9 +294,6 @@ pub type Resource = Ident;
302294/// Task name
303295pub type Task = Ident ;
304296
305- /// List of tasks names
306- pub type Tasks = Vec < Ident > ;
307-
308297/// The result of analyzing an RTIC application
309298pub struct Analysis {
310299 /// SPSC message channels
@@ -322,9 +311,6 @@ pub struct Analysis {
322311 /// accessed) resource and the backend should not generate code for it
323312 pub local_resources : UsedLocalResource ,
324313
325- /// A vector containing all task names
326- pub tasks : Tasks ,
327-
328314 /// Resource ownership
329315 pub ownerships : Ownerships ,
330316
0 commit comments