public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: stub: remove definition of DEBUG
@ 2021-01-14  2:44 trix
  2021-01-17 12:02 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2021-01-14  2:44 UTC (permalink / raw)
  To: jdelvare, wsa; +Cc: linux-i2c, linux-kernel, Tom Rix

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/i2c/i2c-stub.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/i2c/i2c-stub.c b/drivers/i2c/i2c-stub.c
index 537a598e22db..d642cad219d9 100644
--- a/drivers/i2c/i2c-stub.c
+++ b/drivers/i2c/i2c-stub.c
@@ -7,7 +7,6 @@
 
 */
 
-#define DEBUG 1
 #define pr_fmt(fmt) "i2c-stub: " fmt
 
 #include <linux/errno.h>
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-17 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14  2:44 [PATCH] i2c: stub: remove definition of DEBUG trix
2021-01-17 12:02 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox