[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZOMe2NIMp+a8ShsX@smile.fi.intel.com>
Date: Mon, 21 Aug 2023 11:22:48 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>
Subject: Re: [PATCH v1 1/1] serial: core: Remove unused PORT_* definitions
On Fri, Aug 18, 2023 at 02:12:29PM +0300, Andy Shevchenko wrote:
> For the last couple of years Linux kernel got rid of a few architectures
> and many platforms. Hence some PORT_* definitions in the serial_core.h
> become unused and redundant. Remove them for good.
Below are results via Debian Code Search.
Note, I excluded Linux kernel itself from the "user" and Hurd, which seems
to have Linux kernel v2.6 which is _provider_ of the definition(s).
...
> -#define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */
ifdeffed, safe to remove.
> -#define PORT_S3C2410 55
> -#define PORT_LH7A40X 57
> -#define PORT_S3C2440 61
> -#define PORT_MPSC 63
> -#define PORT_S3C2400 67
> -#define PORT_M32R_SIO 68
> -#define PORT_S3C2412 73
> -#define PORT_BFIN 75
> -#define PORT_BFIN_SPORT 79
> -#define PORT_MN10300 80
> -#define PORT_MN10300_CTS 81
> -#define PORT_NWPSERIAL 85
> -#define PORT_TILEGX 106
> -#define PORT_CRIS 112
Unused.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists