[PATCH v1 1/6] j1939: remove CAN_J1939_DEBUG option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



all debugging options are dynamic now

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
 net/can/j1939/Kconfig  | 6 ------
 net/can/j1939/Makefile | 2 --
 2 files changed, 8 deletions(-)

diff --git a/net/can/j1939/Kconfig b/net/can/j1939/Kconfig
index 4f4c8142b185..2998298b71ec 100644
--- a/net/can/j1939/Kconfig
+++ b/net/can/j1939/Kconfig
@@ -13,9 +13,3 @@ config CAN_J1939
 	  The relevant parts in kernel are
 	  SAE j1939-21 (datalink & transport protocol)
 	  & SAE j1939-81 (network management).
-
-config CAN_J1939_DEBUG
-	bool "debug SAE J1939"
-	depends on CAN_J1939
-	help
-	  Say Y to add extra debug code (via printk) in the j1939 stack
diff --git a/net/can/j1939/Makefile b/net/can/j1939/Makefile
index 46e6c6ed221d..19181bdae173 100644
--- a/net/can/j1939/Makefile
+++ b/net/can/j1939/Makefile
@@ -1,7 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
 
-cppflags-$(CONFIG_CAN_J1939_DEBUG) += -DDEBUG
-
 obj-$(CONFIG_CAN_J1939) += can-j1939.o
 
 can-j1939-objs := \
-- 
2.20.1




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux