diff mbox series

net: ks8851: remove definition of DEBUG

Message ID 20210115153128.131026-1-trix@redhat.com
State New
Headers show
Series net: ks8851: remove definition of DEBUG | expand

Commit Message

Tom Rix Jan. 15, 2021, 3:31 p.m. UTC
From: Tom Rix <trix@redhat.com>

Defining DEBUG should only be done in development.
So remove DEBUG.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/net/ethernet/micrel/ks8851_common.c | 2 --
 drivers/net/ethernet/micrel/ks8851_par.c    | 2 --
 drivers/net/ethernet/micrel/ks8851_spi.c    | 2 --
 3 files changed, 6 deletions(-)

Comments

Marek Vasut Jan. 15, 2021, 4:09 p.m. UTC | #1
On 1/15/21 4:31 PM, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> Defining DEBUG should only be done in development.
> So remove DEBUG.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>

Reviewed-by: Marek Vasut <marex@denx.de>

Thanks
patchwork-bot+netdevbpf@kernel.org Jan. 16, 2021, 2 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Fri, 15 Jan 2021 07:31:28 -0800 you wrote:
> From: Tom Rix <trix@redhat.com>

> 

> Defining DEBUG should only be done in development.

> So remove DEBUG.

> 

> Signed-off-by: Tom Rix <trix@redhat.com>

> 

> [...]


Here is the summary with links:
  - net: ks8851: remove definition of DEBUG
    https://git.kernel.org/netdev/net-next/c/3ada665b8fab

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/drivers/net/ethernet/micrel/ks8851_common.c b/drivers/net/ethernet/micrel/ks8851_common.c
index 058fd99bd483..2feed6ce19d3 100644
--- a/drivers/net/ethernet/micrel/ks8851_common.c
+++ b/drivers/net/ethernet/micrel/ks8851_common.c
@@ -8,8 +8,6 @@ 
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#define DEBUG
-
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
diff --git a/drivers/net/ethernet/micrel/ks8851_par.c b/drivers/net/ethernet/micrel/ks8851_par.c
index 3bab0cb2b1a5..2e8fcce50f9d 100644
--- a/drivers/net/ethernet/micrel/ks8851_par.c
+++ b/drivers/net/ethernet/micrel/ks8851_par.c
@@ -8,8 +8,6 @@ 
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#define DEBUG
-
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
diff --git a/drivers/net/ethernet/micrel/ks8851_spi.c b/drivers/net/ethernet/micrel/ks8851_spi.c
index 4ec7f1615977..479406ecbaa3 100644
--- a/drivers/net/ethernet/micrel/ks8851_spi.c
+++ b/drivers/net/ethernet/micrel/ks8851_spi.c
@@ -8,8 +8,6 @@ 
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#define DEBUG
-
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/kernel.h>