mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
tty: remove CMSPAR ifdefs
CMSPAR is defined by all architectures since commit 6bf08cb246
("[PATCH] Add CMSPAR to termbits.h for powerpc and alpha").
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220513082906.11096-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
44e0b165b6
commit
9fafe73351
@@ -208,10 +208,9 @@ static void ark3116_set_termios(struct tty_struct *tty,
|
||||
lcr |= UART_LCR_PARITY;
|
||||
if (!(cflag & PARODD))
|
||||
lcr |= UART_LCR_EPAR;
|
||||
#ifdef CMSPAR
|
||||
if (cflag & CMSPAR)
|
||||
lcr |= UART_LCR_SPAR;
|
||||
#endif
|
||||
|
||||
/* handshake control */
|
||||
hcr = (cflag & CRTSCTS) ? 0x03 : 0x00;
|
||||
|
||||
|
||||
@@ -30,10 +30,6 @@
|
||||
#include <linux/usb/ezusb.h>
|
||||
#include "whiteheat.h" /* WhiteHEAT specific commands */
|
||||
|
||||
#ifndef CMSPAR
|
||||
#define CMSPAR 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Version Information
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user