]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Removed unused id field from vres_params
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 2 Nov 2009 09:57:56 +0000 (10:57 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 2 Nov 2009 09:57:56 +0000 (10:57 +0100)
fwp/lib/fwp/fwp_vres.c
fwp/lib/fwp/fwp_vres.h

index 823b1900448021614c0b5f794e298051d9a041c1..d81c16a5e80514b3738158bbd9354e6213bbbca5 100644 (file)
@@ -63,7 +63,6 @@ typedef enum {
 } fwp_vres_flag_t;
 
 fwp_vres_params_t fwp_vres_params_default = {
-       .id = 0,        
        .ac_id = FWP_AC_VO,
         .budget = 100,
        .period = {.tv_sec = 2 , .tv_nsec = 111111}
@@ -387,7 +386,7 @@ int fwp_vres_destroy(fwp_vres_d_t vresd)
        
        pthread_cancel(vres->tx_thread);
                
-       FWP_DEBUG("Vres vparam_id=%d destroyed.\n", vres->params.id);   
+       FWP_DEBUG("Vres destroyed.\n");
        return  0;
 }
 
index 24188f8c6288eb42be3770aafe44a0a59edf6687..b3c244e8151f24877475f45aada48291f5c06ff8 100644 (file)
@@ -79,8 +79,6 @@ typedef struct timespec  fwp_period_t;
  */
 typedef
 struct fwp_vres_params {
-       /** STA-unique identifier of vres params assigned by manager*/  
-       fwp_vparam_id_t id; 
        fwp_budget_t    budget;         /**< bytes per period */
        /** all time units are in microseconds */       
        fwp_period_t    period;