commit | caf5141de5104a3f2a3323684832e93a2ddd5587 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Apr 29 14:43:48 2015 +0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 05 20:13:50 2016 -0500 |
tree | 08f09deb56e306d6e1a004a58633bbaeb683a6f3 | |
parent | 099ecbfa7c0f7b34ece4bafb0062fc15d8680a69 [diff] |
Bluetooth: Remove unnecessary error checks for bt_uart_read() calls When the 'len' and 'min' parameters passed to bt_uart_read() are equal the function is guaranteed to always return 'len' (it will keep looping until that). This patch removes bt_uart_read() error checks which would never occur in practice. Change-Id: Icd879f1e15c6d33acc549155aabd24490098ffc5 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>