diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-10-29 22:57:30 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-11-05 00:23:44 +0100 |
commit | 70671421007faa0e7c94d237e53186379990e3f0 (patch) | |
tree | b474666234deec9f7876da27439f37c6c3b9b88e /openbsc | |
parent | db64f2e45adf7ac95070361f5b7ec76a44e084fb (diff) |
sgsn: Remove unused static functions from gprs_gmm.c
The following functions are not being used:
- gsm48_tx_gmm_status_oldmsg
- gsm48_tx_sm_status_oldmsg
This patch removes the function definitions.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gprs/gprs_gmm.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c index 4a71ba400..c8ad98cbe 100644 --- a/openbsc/src/gprs/gprs_gmm.c +++ b/openbsc/src/gprs/gprs_gmm.c @@ -325,33 +325,21 @@ static int _tx_status(struct msgb *msg, uint8_t cause, return gsm48_gmm_sendmsg(msg, 0, mmctx); } + static int gsm48_tx_gmm_status(struct sgsn_mm_ctx *mmctx, uint8_t cause) { struct msgb *msg = gsm48_msgb_alloc(); mmctx2msgid(msg, mmctx); return _tx_status(msg, cause, mmctx, 0); -}; -static int gsm48_tx_gmm_status_oldmsg(struct msgb *oldmsg, uint8_t cause) -{ - struct msgb *msg = gsm48_msgb_alloc(); - - gmm_copy_id(msg, oldmsg); - return _tx_status(msg, cause, NULL, 0); } + static int gsm48_tx_sm_status(struct sgsn_mm_ctx *mmctx, uint8_t cause) { struct msgb *msg = gsm48_msgb_alloc(); mmctx2msgid(msg, mmctx); return _tx_status(msg, cause, mmctx, 1); -}; -static int gsm48_tx_sm_status_oldmsg(struct msgb *oldmsg, uint8_t cause) -{ - struct msgb *msg = gsm48_msgb_alloc(); - - gmm_copy_id(msg, oldmsg); - return _tx_status(msg, cause, NULL, 1); } static int _tx_detach_req(struct msgb *msg, uint8_t detach_type, uint8_t cause, |