2015-05-05 07:09:17

by Leo Yan

[permalink] [raw]
Subject: [PATCH] Bluetooth: btwilink: remove DEBUG define

Remove the DEBUG define as the debug code; so can remove mass debug info
from log buffer when using dmesg.

Signed-off-by: Leo Yan <[email protected]>
---
drivers/bluetooth/btwilink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btwilink.c b/drivers/bluetooth/btwilink.c
index 55c135b..7a722df 100644
--- a/drivers/bluetooth/btwilink.c
+++ b/drivers/bluetooth/btwilink.c
@@ -22,7 +22,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
-#define DEBUG
+
#include <linux/platform_device.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
--
1.9.1


2015-05-13 21:01:31

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: btwilink: remove DEBUG define

Hi Leo,

> Remove the DEBUG define as the debug code; so can remove mass debug info
> from log buffer when using dmesg.
>
> Signed-off-by: Leo Yan <[email protected]>
> ---
> drivers/bluetooth/btwilink.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel