From patchwork Fri Aug 23 16:54:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lech Perczak X-Patchwork-Id: 822348 Received: from eu-smtp-delivery-197.mimecast.com (eu-smtp-delivery-197.mimecast.com [185.58.85.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8D8F18BC31 for ; Fri, 23 Aug 2024 16:54:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.85.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724432052; cv=none; b=hR65hboPYZ5hBUkYDS8RKGQvr8TSAsT5xZU/hGy8BHPmWk3ezXO9+GPteJpnckWXzeM0F3ePKO6HKaq8GDR3TJrm24JSVWoJ0sHd6AVCnPC68xew5HsFWErFIGkB4KFmUfafEQE2t+wWdQX3dUlo1zVtyXzxTvkJomtfvmJHAxI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724432052; c=relaxed/simple; bh=MwEVhaAbbZG5Mnu0wsRNb0OT3kpHS7zusoKlKGO7lww=; h=Message-ID:Date:Subject:From:To:Cc:References:In-Reply-To: MIME-Version:Content-Type; b=QTSpl+4a7pVccPwAiwp0Z5CfXhoiT4hJkpognD62lNwZWn6rbY93cw4YpmabFPD9kZT6m0epVJ/z8L1gdM2wcF1npVTFQCSo3wLy1ZFxoizsfsc6GTdUE0MMDiA3S+WjX8gnqLSpNDoL8gk3w+GGNWVnDQ6qaJXVt2roezD0fQc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=camlingroup.com; spf=pass smtp.mailfrom=camlingroup.com; dkim=pass (1024-bit key) header.d=camlingroup.com header.i=@camlingroup.com header.b=P+saWbeL; arc=none smtp.client-ip=185.58.85.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=camlingroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=camlingroup.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=camlingroup.com header.i=@camlingroup.com header.b="P+saWbeL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=camlingroup.com; s=mimecast20210310; t=1724432048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MmDul3sGjX2alKR0pnOMKeFwHoMlNM0CJyllM9dlV8Y=; b=P+saWbeLsTGW1ibfgMszNfJxgM3ahSNwoW+gwAOg+XgyBkChScirH3nJV8aXpOoFlmlOBG JEy0bM6pLHJkrbMoQThn8zQM1tYsyI/FZeXiDEPvyEjGjUfbdWGBj0qBFvbWh8JwV3qOjy RWrIaa9UeKmpscgYUcLqqIrf4qJVdl8= Received: from GBR01-CWX-obe.outbound.protection.outlook.com (mail-cwxgbr01lp2043.outbound.protection.outlook.com [104.47.85.43]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id uk-mta-192-M2L29m98NCeuO4dLZeW_zQ-1; Fri, 23 Aug 2024 17:54:07 +0100 X-MC-Unique: M2L29m98NCeuO4dLZeW_zQ-1 Received: from LO4P123MB5272.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:20b::7) by LO2P123MB6200.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:268::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Fri, 23 Aug 2024 16:54:06 +0000 Received: from LO4P123MB5272.GBRP123.PROD.OUTLOOK.COM ([fe80::55a9:7dae:8812:f567]) by LO4P123MB5272.GBRP123.PROD.OUTLOOK.COM ([fe80::55a9:7dae:8812:f567%5]) with mapi id 15.20.7897.014; Fri, 23 Aug 2024 16:54:06 +0000 Message-ID: Date: Fri, 23 Aug 2024 18:54:04 +0200 User-Agent: Mozilla Thunderbird Subject: [PATCH v3 1/3] serial: sc16is7xx: remove SC16IS7XX_MSR_DELTA_MASK From: Lech Perczak To: linux-serial@vger.kernel.org, "linux-kernel@vger.kernel.org" Cc: Greg Kroah-Hartman , Jiri Slaby , Hugo Villeneuve , Andy Shevchenko , =?utf-8?q?Krzysztof_Drobi=C5=84ski?= , =?utf-8?q?Pawe=C5=82_Lenkow?= , Kirill Yatsenko References: <7deb753f-bf86-47ce-89bf-8277aca4293e@camlingroup.com> In-Reply-To: <7deb753f-bf86-47ce-89bf-8277aca4293e@camlingroup.com> X-ClientProxiedBy: BEXP281CA0016.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::26) To LO4P123MB5272.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:20b::7) Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO4P123MB5272:EE_|LO2P123MB6200:EE_ X-MS-Office365-Filtering-Correlation-Id: c42d20b4-0e82-4d3e-85db-08dcc394331a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014 X-Microsoft-Antispam-Message-Info: =?utf-8?q?SRQx4lYL6NSpYYm2MqosTgRs1WPEXy+?= =?utf-8?q?b4t+NJ1YA+3E6rmUAwj9O+1P63pH26Vyaso3p7O1Pqy7+hr5u11qEsRrGyWRqV7le?= =?utf-8?q?ov8y1GSStpfe5h7HM/F1wcXkcIT70cbsleqZXQLOFoKHuDa6RqB+i+x2qfMoot9T9?= =?utf-8?q?E5zTAzD4U8uZPYUQM8L9FZzJczDmte81knmk9b82iy+9llsv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f-8?q?FUhE3TycObrjbvPMt9ZEqwuSOpmiivWt/rC+A8wxMsL6O+CacAK21Ua9ApxwN3wKj?= =?utf-8?q?NPfaJ+L4rxghPDkEReJq5T/lzSRYydST/Y6QGTub7Gg53EJRy2eb4MC9Fguk02YVy?= =?utf-8?q?grQYCEQZYBzJzTKoJttCv+NZYKmpWfyk/DC/8RXNlrQODWxOh5Eu6hK+cdMjt5lx6?= =?utf-8?q?ma9aZyFJLZlbHaluyC2PKvIiVy8DWMLacdQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LO4P123MB5272.GBRP123.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?1AvlE7M41dSmVxKL3vpWHi0fgkBK?= =?utf-8?q?ae50moA8dxtJIf7C6CPghiXC4e/5OLG7ZwMcbbTag7NQnFjuQLSLBvygNR+5KR+xC?= =?utf-8?q?lqInmqXFGrAjIDIcudoQY/IusRt5dhptb+ix9UGDVFteAjCIgq6mKtq5erKRlPhLN?= =?utf-8?q?wtAUuVulZv470SulXD8x9svZkwaSkBf2kbAv2IxjvchaI4nUw9fafgP7GeW2lR3LG?= =?utf-8?q?BomfxXRqBfTQOV482/8EEEUT7p4KBhlRMfxPHGZHxWZ1FvhvHEnGmr5oI1d0IASNO?= =?utf-8?q?4+AfOLuiEO1EyCeO9/hrCGKEQ7M+c59NZDFTm/xlPjUbyVLC3CoWbdGmEv8hVjGSK?= =?utf-8?q?hF/4tsWO/YMFjTnNXWANjJwpO7EWqdJcTasakAwwxnVkNN8W/g8w+CzmabeDYn9zZ?= =?utf-8?q?TF/PjVtcc8p2GKIlnJXChRHqfcYT96+/bj/ui9mCr5FOt1+eCH7JaRTapR6t7IKYA?= =?utf-8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6hml6IDcaylKuwkwd3VddUqeqU6PmbwYZTaQ5eUi6Ke+ibFD+CujSOjjDsVqmX1R3?= =?utf-8?q?oz4NpmPcG8EHxsNE4haODQj6RkqF39vl45i4N04KmU+mtuvbIMKfXFW2XSMDcqvIp?= =?utf-8?q?MilgNRaQ3DLN719IM4rN0KuLvINJYIrU8yOFynp9QEKTeQnYPnn7H6yRkiqNU5+dQ?= =?utf-8?q?+Owkj7str+ForwGftgSOECz2DwBLXNeC/l8dwrmFfsKqFkIxpeZC15JvMM3jMc/sc?= =?utf-8?q?6Ev0TfLW242UOehO+lJUaJwH6DIk4CfqQ=3D=3D?= X-OriginatorOrg: camlingroup.com X-MS-Exchange-CrossTenant-Network-Message-Id: c42d20b4-0e82-4d3e-85db-08dcc394331a X-MS-Exchange-CrossTenant-AuthSource: LO4P123MB5272.GBRP123.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 16:54:06.0917 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fd4b1729-b18d-46d2-9ba0-2717b852b252 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Pv1BDGeJnc353cBrv7XwMe7KZ05NZvs8CyCGwUyMwo6DuUrEXH6f/2SgJLDVWkmDFPOg3yqT3NK+3rmoBRsneUM9szr+2FORkdQFk+gLylU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO2P123MB6200 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: camlingroup.com Content-Language: en-US This definition isn't used anywhere anymore, let's delete it. Reviewed-by: Andy Shevchenko Signed-off-by: Lech Perczak --- Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Hugo Villeneuve Cc: Andy Shevchenko --- drivers/tty/serial/sc16is7xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index bf0065d1c8e9..8a2020f9930e 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -207,7 +207,6 @@ #define SC16IS7XX_MSR_CD_BIT (1 << 7) /* CD (IO6) * - only on 75x/76x */ -#define SC16IS7XX_MSR_DELTA_MASK 0x0F /* Any of the delta bits! */ /* * TCR register bits