mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-11 09:26:28 +00:00
[sms] trivial: Removed unneeded double check in unbcdify
This commit is contained in:
committed by
Harald Welte
parent
a897bf3ded
commit
ad69d7f8b2
@@ -218,7 +218,6 @@ static u_int8_t unbcdify(u_int8_t value)
|
|||||||
DEBUGP(DSMS, "unbcdify got too big nibble: 0x%02X\n", value);
|
DEBUGP(DSMS, "unbcdify got too big nibble: 0x%02X\n", value);
|
||||||
|
|
||||||
ret = (value&0x0F)*10;
|
ret = (value&0x0F)*10;
|
||||||
if (ret > 90)
|
|
||||||
ret += value>>4;
|
ret += value>>4;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user