2015-04-12 15:03:33

by Valentin Rothberg

[permalink] [raw]
Subject: [PATCH] drivers/tty/serial/8250/8250_core.c: remove CONFIG_HUB6

This file local CPP identifier is not referenced anywhere else, so we
can safely remove it.

Signed-off-by: Valentin Rothberg <[email protected]>
---
I detected this issue with ./scripts/checkkconfigsymbols.py
---
drivers/tty/serial/8250/8250_core.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
index e0fb5f053d09..1aa349a97172 100644
--- a/drivers/tty/serial/8250/8250_core.c
+++ b/drivers/tty/serial/8250/8250_core.c
@@ -92,11 +92,6 @@ static unsigned int skip_txen_test; /* force skip of txen test at init time */
#define CONFIG_SERIAL_MANY_PORTS 1
#endif

-/*
- * HUB6 is always on. This will be removed once the header
- * files have been cleaned.
- */
-#define CONFIG_HUB6 1

#include <asm/serial.h>
/*
--
2.1.0


2015-04-12 16:05:51

by Peter Hurley

[permalink] [raw]
Subject: Re: [PATCH] drivers/tty/serial/8250/8250_core.c: remove CONFIG_HUB6

On 04/12/2015 11:03 AM, Valentin Rothberg wrote:
> This file local CPP identifier is not referenced anywhere else, so we
> can safely remove it.

Reviewed-by: Peter Hurley <[email protected]>