summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_libgtp.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 13:47:37 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 13:47:37 +0200
commit74902c5435aebd2e6acb1a5b3f9fa2fcc1157a2d (patch)
tree70c754e397721a3adfa6190dbf57ac2cd5c22b0b /openbsc/src/gprs/sgsn_libgtp.c
parentbaf770042945c84dca6c0740f4e07855dbbcc89e (diff)
sgsn_libgtp: remove bogus unreached second return statement
found by Smatch
Diffstat (limited to 'openbsc/src/gprs/sgsn_libgtp.c')
-rw-r--r--openbsc/src/gprs/sgsn_libgtp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/gprs/sgsn_libgtp.c b/openbsc/src/gprs/sgsn_libgtp.c
index f193aa308..71694a433 100644
--- a/openbsc/src/gprs/sgsn_libgtp.c
+++ b/openbsc/src/gprs/sgsn_libgtp.c
@@ -500,8 +500,6 @@ int sgsn_rx_sndcp_ud_ind(struct gprs_ra_id *ra_id, int32_t tlli, uint8_t nsapi,
rate_ctr_add(&mmctx->ctrg->ctr[GMM_CTR_BYTES_UDATA_IN], npdu_len);
return gtp_data_req(pdp->ggsn->gsn, pdp->lib, npdu, npdu_len);
-
- return gtp_data_req(pdp->ggsn->gsn, pdp->lib, npdu, npdu_len);
}
/* libgtp select loop integration */