summaryrefslogtreecommitdiff
path: root/cesar/mac
diff options
context:
space:
mode:
authorNicolas Schodet2010-09-24 11:03:12 +0200
committerNicolas Schodet2010-09-27 17:49:01 +0200
commitcdb6f7c6cd8a7fc899b7bd359dd389b8e1cc2d0c (patch)
treeb404e6703361cec42de59f45bebee1fdc90d94a2 /cesar/mac
parent79e91a31cd7dd3b7ea174da74274bf9e57fffeb1 (diff)
cesar/mac/ca: remove useless code
Diffstat (limited to 'cesar/mac')
-rw-r--r--cesar/mac/ca/src/access.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cesar/mac/ca/src/access.c b/cesar/mac/ca/src/access.c
index 64e07a0be9..dc1a1cbfba 100644
--- a/cesar/mac/ca/src/access.c
+++ b/cesar/mac/ca/src/access.c
@@ -139,8 +139,6 @@ static void ARCH_ILRAM
ca_access_compute (ca_t *ctx, u32 start_date, uint length_tck,
uint anticipation_tck, bool eifs, bool update)
{
- ca_beacon_period_t *bp;
- ca_schedule_t *sched;
u32 allocation_end_date;
uint glid;
dbg_claim (ctx && ctx->state != CA_STATE_IDLE);
@@ -153,8 +151,6 @@ ca_access_compute (ca_t *ctx, u32 start_date, uint length_tck,
dbg_invalid_ptr (ctx->access_param.mfs);
}
/* Get current allocation. */
- bp = &ctx->beacon_periods[ctx->current_beacon_period];
- sched = &ctx->schedules[bp->schedule_index];
allocation_end_date = ctx->current_allocation_param.end_date;
glid = ctx->current_allocation_param.glid;
/* Test for allocation overflow or unusable allocation. */