summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-05-15 21:32:43 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-05-17 10:15:09 +0000
commit4c3e4ea305fd145aff499cc7fece2922213f290f (patch)
tree0e3aee0e86e00e21b698288264c54b2c0c725950 /src
parent18d49d694f1154b1fd2129791f491bb0a96fb432 (diff)
gsm/gsm0411_smr.c: strip unused variable
Change-Id: I53f69913907588c45a9661c4e86e1bfb57a2418f
Diffstat (limited to 'src')
-rw-r--r--src/gsm/gsm0411_smr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gsm/gsm0411_smr.c b/src/gsm/gsm0411_smr.c
index 6d7fb8b5..eb8aec0d 100644
--- a/src/gsm/gsm0411_smr.c
+++ b/src/gsm/gsm0411_smr.c
@@ -287,7 +287,6 @@ static int gsm411_mnsms_data_ind_tx(struct gsm411_smr_inst *inst,
struct gsm48_hdr *gh = (struct gsm48_hdr*)msg->l3h;
struct gsm411_rp_hdr *rp_data = (struct gsm411_rp_hdr*)&gh->data;
uint8_t msg_type = rp_data->msg_type & 0x07;
- int rc;
/* check direction */
if (inst->network == (msg_type & 1)) {
@@ -329,7 +328,7 @@ static int gsm411_mnsms_data_ind_tx(struct gsm411_smr_inst *inst,
return -EINVAL;
}
- return rc;
+ return 0;
}
static int gsm411_mnsms_error_ind_tx(struct gsm411_smr_inst *inst,