mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gbproxy: Fix warnings
This patch fixes the remaining 'unused' warnings. Sponsored-by: On-Waves ehf
This commit is contained in:
committed by
Holger Hans Peter Freyther
parent
56cb729907
commit
1a8dbc4fc9
@@ -116,7 +116,6 @@ static void gprs_push_llc_ui(struct msgb *msg,
|
||||
const uint8_t e_bit = 0;
|
||||
const uint8_t pm_bit = 1;
|
||||
const uint8_t cr_bit = is_uplink ? 0 : 1;
|
||||
size_t msg_size = msgb_length(msg);
|
||||
uint8_t *llc;
|
||||
uint8_t *fcs_field;
|
||||
uint32_t fcs;
|
||||
|
@@ -224,7 +224,6 @@ static int gprs_gb_parse_gmm_detach_req(uint8_t *data, size_t data_len,
|
||||
{
|
||||
uint8_t *value;
|
||||
size_t value_len;
|
||||
int detach_type;
|
||||
int power_off;
|
||||
|
||||
parse_ctx->llc_msg_name = "DETACH_REQ";
|
||||
@@ -235,7 +234,6 @@ static int gprs_gb_parse_gmm_detach_req(uint8_t *data, size_t data_len,
|
||||
/* invalid */
|
||||
return 0;
|
||||
|
||||
detach_type = *value & 0x07;
|
||||
power_off = *value & 0x08 ? 1 : 0;
|
||||
|
||||
if (!parse_ctx->to_bss) {
|
||||
|
Reference in New Issue
Block a user