drivers/nble: Clean NBLE UART driver
Remove not used code and decrease number of log messages Change-Id: I3a41fcc15d7f7b7e8802a13f6eb871794437a87c Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
362579cc74
commit
ecfc0d12bf
1 changed files with 0 additions and 10 deletions
|
@ -192,14 +192,6 @@ void bt_uart_isr(void *unused)
|
|||
if (!buf) {
|
||||
BT_ERR("No available IPC buffers");
|
||||
}
|
||||
#if 0
|
||||
} else {
|
||||
memcpy(net_buf_add(buf, sizeof(hdr)), &hdr,
|
||||
sizeof(hdr));
|
||||
}
|
||||
#endif
|
||||
|
||||
BT_DBG("need to get %u bytes", remaining);
|
||||
|
||||
if (buf && remaining > net_buf_tailroom(buf)) {
|
||||
BT_ERR("Not enough space in buffer");
|
||||
|
@ -220,8 +212,6 @@ void bt_uart_isr(void *unused)
|
|||
buf->len += read;
|
||||
remaining -= read;
|
||||
|
||||
BT_DBG("received %d bytes", read);
|
||||
|
||||
if (!remaining) {
|
||||
BT_DBG("full packet received");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue