From fc1976e1a0a4d1381a149156b83c6e38d3b0360b Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 18 Oct 2020 18:03:17 +0700 Subject: scheduler: get rid of useless TRX_CHAN_FLAG_PDCH Change-Id: I951ec9b02be674936fbd0bf2e75b004813e25197 --- include/osmo-bts/scheduler.h | 2 -- src/common/scheduler.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/osmo-bts/scheduler.h b/include/osmo-bts/scheduler.h index f19a13ed..6bb0b9b1 100644 --- a/include/osmo-bts/scheduler.h +++ b/include/osmo-bts/scheduler.h @@ -8,8 +8,6 @@ /* Whether a logical channel must be activated automatically */ #define TRX_CHAN_FLAG_AUTO_ACTIVE (1 << 0) -/* Whether a logical channel belongs to PDCH (packet switched data) */ -#define TRX_CHAN_FLAG_PDCH (1 << 1) /* FIXME: we should actually activate 'auto-active' channels */ #define TRX_CHAN_IS_ACTIVE(state, chan) \ diff --git a/src/common/scheduler.c b/src/common/scheduler.c index 6d359e08..9af67c84 100644 --- a/src/common/scheduler.c +++ b/src/common/scheduler.c @@ -524,7 +524,6 @@ const struct trx_chan_desc trx_chan_desc[_TRX_CHAN_MAX] = { * 05.03, chapter 5), regular interleaving as specified for xCCH. * NOTE: the burst buffer is three times bigger because the * payload of EDGE bursts is three times longer. */ - .flags = TRX_CHAN_FLAG_PDCH, .rts_fn = rts_data_fn, .dl_fn = tx_pdtch_fn, .ul_fn = rx_pdtch_fn, @@ -539,7 +538,6 @@ const struct trx_chan_desc trx_chan_desc[_TRX_CHAN_MAX] = { * transfer mode. On Downlink, the network sends timing advance * updates for several mobile stations. The coding scheme used * for PTCCH/D messages is the same as for PDTCH CS-1. */ - .flags = TRX_CHAN_FLAG_PDCH, .rts_fn = rts_data_fn, .dl_fn = tx_pdtch_fn, .ul_fn = rx_rach_fn, -- cgit v1.2.3