diff options
author | DingXiang <dingxiang@huawei.com> | 2015-04-10 04:45:58 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-29 19:05:29 -0400 |
commit | 16e5c47a0f90a37cf8b8d50b5eaf3cd3f7ed9530 (patch) | |
tree | b794eea645869e63e5ab8ac39365b1047c85cff5 | |
parent | 9dac8835440622c2f84591673969d510ce198c11 (diff) |
Bluetooth: bt3c: Delete some unuseful comments
I think the comments are used to debug, and we don't need them in
mainline code
Signed-off-by: DingXiang <dingxiang@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 4f7e8d400bc0..6de97b3871b0 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -227,7 +227,6 @@ static void bt3c_receive(struct bt3c_info *info) | |||
227 | iobase = info->p_dev->resource[0]->start; | 227 | iobase = info->p_dev->resource[0]->start; |
228 | 228 | ||
229 | avail = bt3c_read(iobase, 0x7006); | 229 | avail = bt3c_read(iobase, 0x7006); |
230 | //printk("bt3c_cs: receiving %d bytes\n", avail); | ||
231 | 230 | ||
232 | bt3c_address(iobase, 0x7480); | 231 | bt3c_address(iobase, 0x7480); |
233 | while (size < avail) { | 232 | while (size < avail) { |
@@ -250,7 +249,6 @@ static void bt3c_receive(struct bt3c_info *info) | |||
250 | 249 | ||
251 | bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L); | 250 | bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L); |
252 | inb(iobase + DATA_H); | 251 | inb(iobase + DATA_H); |
253 | //printk("bt3c: PACKET_TYPE=%02x\n", bt_cb(info->rx_skb)->pkt_type); | ||
254 | 252 | ||
255 | switch (bt_cb(info->rx_skb)->pkt_type) { | 253 | switch (bt_cb(info->rx_skb)->pkt_type) { |
256 | 254 | ||
@@ -364,7 +362,6 @@ static irqreturn_t bt3c_interrupt(int irq, void *dev_inst) | |||
364 | if (stat & 0x0001) | 362 | if (stat & 0x0001) |
365 | bt3c_receive(info); | 363 | bt3c_receive(info); |
366 | if (stat & 0x0002) { | 364 | if (stat & 0x0002) { |
367 | //BT_ERR("Ack (stat=0x%04x)", stat); | ||
368 | clear_bit(XMIT_SENDING, &(info->tx_state)); | 365 | clear_bit(XMIT_SENDING, &(info->tx_state)); |
369 | bt3c_write_wakeup(info); | 366 | bt3c_write_wakeup(info); |
370 | } | 367 | } |