libmsc: remove duplicate lines in deliver_to_esme()

This code is accidentally doing the same thing twice, remove it.

Change-Id: I68087a850399e22951d2407e4d8a09c671a775c9
This commit is contained in:
Pablo Neira Ayuso 2017-08-07 14:01:07 +01:00 committed by Neels Hofmeyr
parent 19e0536ad3
commit 26d3db8a32
1 changed files with 0 additions and 2 deletions

View File

@ -680,8 +680,6 @@ static int deliver_to_esme(struct osmo_esme *esme, struct gsm_sms *sms,
} else {
deliver.sm_length = sms->user_data_len;
memcpy(deliver.short_message, sms->user_data, deliver.sm_length);
deliver.sm_length = sms->user_data_len;
memcpy(deliver.short_message, sms->user_data, deliver.sm_length);
}
#if BEFORE_MSCSPLIT