summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas2015-07-13 13:18:51 +0200
committerGreg Kroah-Hartman2015-07-24 03:27:41 +0200
commit97d49add8befb522828200081388b2f21c1c4f8b (patch)
tree0b59f692b6a65539802c9c6e9f8a086da0bceb41
parenttty: buffers: Move hidden buffer index advance into outer loop (diff)
downloadkernel-qcow2-linux-97d49add8befb522828200081388b2f21c1c4f8b.tar.gz
kernel-qcow2-linux-97d49add8befb522828200081388b2f21c1c4f8b.tar.xz
kernel-qcow2-linux-97d49add8befb522828200081388b2f21c1c4f8b.zip
serial: samsung: Remove redundant DEBUG_LL check
Commit 84f57d9e3685 ("tty: serial/samsung: fix modular build") fixed build issues when the driver was built as a module. One of those was that printascii is only accessible when the driver is built-in. But there is no need to check for defined(CONFIG_DEBUG_LL) since the SERIAL_SAMSUNG_DEBUG Kconfig symbol already depends on DEBUG_LL. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Kukjin Kim <kgene@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/samsung.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
index 67d0c213b1c7..8c963d6d9074 100644
--- a/drivers/tty/serial/samsung.c
+++ b/drivers/tty/serial/samsung.c
@@ -53,7 +53,6 @@
#include "samsung.h"
#if defined(CONFIG_SERIAL_SAMSUNG_DEBUG) && \
- defined(CONFIG_DEBUG_LL) && \
!defined(MODULE)
extern void printascii(const char *);