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:
Andrei Emeltchenko 2016-02-10 11:54:27 +02:00 committed by Anas Nashif
commit ecfc0d12bf

View file

@ -192,14 +192,6 @@ void bt_uart_isr(void *unused)
if (!buf) { if (!buf) {
BT_ERR("No available IPC buffers"); 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)) { if (buf && remaining > net_buf_tailroom(buf)) {
BT_ERR("Not enough space in buffer"); BT_ERR("Not enough space in buffer");
@ -220,8 +212,6 @@ void bt_uart_isr(void *unused)
buf->len += read; buf->len += read;
remaining -= read; remaining -= read;
BT_DBG("received %d bytes", read);
if (!remaining) { if (!remaining) {
BT_DBG("full packet received"); BT_DBG("full packet received");