[sms] trivial: Removed unneeded double check in unbcdify

This commit is contained in:
Steffen Neubauer 2009-11-26 23:38:41 +01:00 committed by Harald Welte
parent a897bf3ded
commit ad69d7f8b2
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}