lwip: fix typos and remove unused code
Change CONFIG_DEBUG_LWIP_ERROR to CONFIG_NET_LWIP_DEBUG.
DEBUG_LWIP_WARN, DEBUG_LWIP_INFO, DEBUG_LWIP_ERROR are not used anymore
so remove it.
@@ -594,7 +594,7 @@ Once LOGM is approved, each module should have its own index
#define lllvdbg(x...)
#endif
-#ifdef CONFIG_DEBUG_LWIP_ERROR
+#ifdef CONFIG_NET_LWIP_DEBUG
#define lwipdbg(format, ...) dbg(format, ##__VA_ARGS__)
#define lwiplldbg(format, ...) lldbg(format, ##__VA_ARGS__)
#else
@@ -602,22 +602,6 @@ Once LOGM is approved, each module should have its own index
#define lwiplldbg(x...)
#endif
-#ifdef CONFIG_DEBUG_LWIP_WARN
-#define lwipwdbg(format, ...) wdbg(format, ##__VA_ARGS__)
-#define lwipllwdbg(format, ...) llwdbg(format, ##__VA_ARGS__)
-#else
-#define lwipwdbg(x...)
-#define lwipllwdbg(x...)
-#endif
-
-#ifdef CONFIG_DEBUG_LWIP_INFO
-#define lwipvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
-#define lwipllvdbg(format, ...) llvdbg(format, ##__VA_ARGS__)
-#else
-#define lwipvdbg(x...)
-#define lwipllvdbg(x...)
-#endif
-
#ifdef CONFIG_DEBUG_TTRACE
#define ttdbg(format, ...) dbg(format, ##__VA_ARGS__)
#else
@@ -952,30 +936,6 @@ Once LOGM is approved, each module should have its own index
#define lllvdbg (void)
#endif
-#ifdef CONFIG_DEBUG_LWIP_ERROR
-#define lwipdbg dbg
-#define lwiplldbg lldbg
-#else
-#define lwipdbg (void)
-#define lwiplldbg (void)
-#endif
-
-#ifdef CONFIG_DEBUG_LWIP_WARN
-#define lwipwdbg wdbg
-#define lwipllwdbg llwdbg
-#else
-#define lwipwdbg (void)
-#define lwipllwdbg (void)
-#endif
-
-#ifdef CONFIG_DEBUG_LWIP_INFO
-#define lwipvdbg vdbg
-#define lwipllvdbg llvdbg
-#else
-#define lwipvdbg (void)
-#define lwipllvdbg (void)
-#endif
-
#endif /* CONFIG_CPP_HAVE_VARARGS */
/* Buffer dumping macros do not depend on varargs */
