gbproxy: Fix warnings
This patch fixes the remaining 'unused' warnings. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
903dff7377
commit
3f0c559da7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue