Skip to contentSkip to conversation

Bluetooth:deltele some unuseful comments

PATCH In review DingXiang 2 participants 2 messages Apr 10, 2015

Subsystems (2)
lore
Share & tools
lore

DingXiang

author
#0 lore raw

PATCH 1/1 Bluetooth:deltele some unuseful comments

From: dingxiang <[email protected]>

I think the comments are used to debug, and we don't need them in mainline code

---
 drivers/bluetooth/bt3c_cs.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/bluetooth/bt3c_cs.c +0 -3
index 4f7e8d4..6de97b3 100644
@@ -227,7 +227,6 @@ static void bt3c_receive(struct bt3c_info *info)
 	iobase = info->p_dev->resource[0]->start;
 
 	avail = bt3c_read(iobase, 0x7006);
-	//printk("bt3c_cs: receiving %d bytes\n", avail);
 
 	bt3c_address(iobase, 0x7480);
 	while (size < avail) {
@@ -250,7 +249,6 @@ static void bt3c_receive(struct bt3c_info *info)
 
 			bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L);
 			inb(iobase + DATA_H);
-			//printk("bt3c: PACKET_TYPE=%02x\n", bt_cb(info->rx_skb)->pkt_type);
 
 			switch (bt_cb(info->rx_skb)->pkt_type) {
 
@@ -364,7 +362,6 @@ static irqreturn_t bt3c_interrupt(int irq, void *dev_inst)
 			if (stat & 0x0001)
 				bt3c_receive(info);
 			if (stat & 0x0002) {
-				//BT_ERR("Ack (stat=0x%04x)", stat);
 				clear_bit(XMIT_SENDING, &(info->tx_state));
 				bt3c_write_wakeup(info);
 			}
Signature · 1 line
1.7.1
maintainer
#1 lore raw

Hi Ding,

Quoted 7 lines

I think the comments are used to debug, and we don't need them in mainline code

---
drivers/bluetooth/bt3c_cs.c | 3 ---

1 files changed, 0 insertions(+), 3 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel