Make linter happy: fix coding style issues
Change-Id: I6672fcd13d9617f054ab295232cfe486f5f17035
This commit is contained in:
parent
f5dde9fe54
commit
c2eb4b7405
|
@ -474,7 +474,7 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts,
|
||||||
|
|
||||||
/* Prio 1: select control message */
|
/* Prio 1: select control message */
|
||||||
if ((msg = sched_select_ctrl_msg(pdch, fn, block_nr, &tbf_cand))) {
|
if ((msg = sched_select_ctrl_msg(pdch, fn, block_nr, &tbf_cand))) {
|
||||||
gsmtap_cat = PCU_GSMTAP_C_DL_CTRL;
|
gsmtap_cat = PCU_GSMTAP_C_DL_CTRL;
|
||||||
}
|
}
|
||||||
/* Prio 2: select data message for downlink */
|
/* Prio 2: select data message for downlink */
|
||||||
else if((msg = sched_select_dl_data_msg(bts, pdch, fn, block_nr, req_mcs_kind, &tx_is_egprs))) {
|
else if((msg = sched_select_dl_data_msg(bts, pdch, fn, block_nr, req_mcs_kind, &tx_is_egprs))) {
|
||||||
|
|
|
@ -299,7 +299,7 @@ void pdch_ulc_expire_fn(struct pdch_ulc *ulc, uint32_t fn)
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
struct rb_node *first;
|
struct rb_node *first;
|
||||||
while((first = rb_first(&ulc->tree_root))) {
|
while ((first = rb_first(&ulc->tree_root))) {
|
||||||
item = container_of(first, struct pdch_ulc_node, node);
|
item = container_of(first, struct pdch_ulc_node, node);
|
||||||
res = fn_cmp(item->fn, fn);
|
res = fn_cmp(item->fn, fn);
|
||||||
if (res > 0) /* item->fn AFTER fn */
|
if (res > 0) /* item->fn AFTER fn */
|
||||||
|
|
Loading…
Reference in New Issue