Skip to contentSkip to conversation

net: ks8851: remove definition of DEBUG

PATCH Applied [email protected] 3 participants 3 messages Jan 15, 2021 – Jan 16, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ks8851: remove definition of DEBUG

From: Tom Rix <[email protected]>

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

---
 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(-)
drivers/net/ethernet/micrel/ks8851_common.c +0 -2
index 058fd99bd483..2feed6ce19d3 100644
@@ -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>
drivers/net/ethernet/micrel/ks8851_par.c +0 -2
index 3bab0cb2b1a5..2e8fcce50f9d 100644
@@ -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>
drivers/net/ethernet/micrel/ks8851_spi.c +0 -2
index 4ec7f1615977..479406ecbaa3 100644
@@ -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>
Signature · 1 line
2.27.0
#2 lore raw
In reply to [email protected]
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

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

Quoted 8 lines · On Fri, 15 Jan 2021 07:31:28 -0800 you wrote:

From: Tom Rix <[email protected]>

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

[...]

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