[sms] trivial: Removed unneeded double check in unbcdify
This commit is contained in:
parent
a897bf3ded
commit
ad69d7f8b2
|
@ -218,8 +218,7 @@ static u_int8_t unbcdify(u_int8_t value)
|
|||
DEBUGP(DSMS, "unbcdify got too big nibble: 0x%02X\n", value);
|
||||
|
||||
ret = (value&0x0F)*10;
|
||||
if (ret > 90)
|
||||
ret += value>>4;
|
||||
ret += value>>4;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue