8fc4c99496
A few lines earlier the code bails out in case len is 0. Checking for buf->len < 1 is the same as checking for buf->len == 0. Since len is guaranteed to be > 0 here the check len > buf->len implicitly checks for buf->len == 0, i.e. the second test can be removed. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
bt.c | ||
bt.h | ||
flash.c | ||
gatt.c | ||
gatt.h | ||
ll.c | ||
ll.h | ||
ticker.c |