From patchwork Mon Aug 26 15:41:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lech Perczak X-Patchwork-Id: 823004 Received: from eu-smtp-delivery-197.mimecast.com (eu-smtp-delivery-197.mimecast.com [185.58.86.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 1CE26193422 for ; Mon, 26 Aug 2024 15:41:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.86.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724686890; cv=none; b=ZRggtOdaXu4oDOdSI52Msz6Vas64/+NL3nZqNmfdVtv6DuehBzbyoYo2DLxjGtnhK4kwqLC69QxgRBDbYkmhK7WQGTvL+MonkBQBdYBOYngzGVqjX1TnnGMO/KQf6sVv2NXAB+d25TM9e5XllVRpJKULzxB8MGIhveDnTC8mBbo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724686890; c=relaxed/simple; bh=MwEVhaAbbZG5Mnu0wsRNb0OT3kpHS7zusoKlKGO7lww=; h=Message-ID:Date:Subject:From:To:Cc:References:In-Reply-To: MIME-Version:Content-Type; b=kf21ZZ2HEEKzlcfEtS0imMF+mi87CjY0wTCByyFq8FoM4y1GmOuJWpOdXmKpWfBhjUWMuMSzr5rWhBygO4ueJjRCas/hu7Wa5hfDbevLZBGVyhWme8CWwFXrwmpXx81DoxASaRFk9U/4d7LeR+kJlddZn0qVLopb0XXdXN2tyOo= 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=ZYnlKV64; arc=none smtp.client-ip=185.58.86.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="ZYnlKV64" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=camlingroup.com; s=mimecast20210310; t=1724686887; 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=ZYnlKV64gUVXJEikW+AwLdY6CMskUM5r2O8FiJzKyyA8QRrJ3SvtPLmVDKSt1PGqTRpihD Ye+xULOnev/LhD4VbZL2EyHuDlcTiwnfiTkBTqh6ai7BdSwFdhGaNPJZlBnuKYUTHV2Mdz SAk2q7v8cKm/D7Mkr7zI94FgCWPe0pE= Received: from GBR01-LO4-obe.outbound.protection.outlook.com (mail-lo4gbr01lp2109.outbound.protection.outlook.com [104.47.85.109]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id uk-mta-17-kUtsOAUCO-mPsS5ujUIy6A-1; Mon, 26 Aug 2024 16:41:26 +0100 X-MC-Unique: kUtsOAUCO-mPsS5ujUIy6A-1 Received: from CWXP123MB5267.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:142::9) by CWXP123MB6192.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:1aa::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 15:41:25 +0000 Received: from CWXP123MB5267.GBRP123.PROD.OUTLOOK.COM ([fe80::f866:62f9:716e:ca4f]) by CWXP123MB5267.GBRP123.PROD.OUTLOOK.COM ([fe80::f866:62f9:716e:ca4f%4]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024 15:41:25 +0000 Message-ID: <91a9aa22-47b7-449a-a7ad-877ce1b6402e@camlingroup.com> Date: Mon, 26 Aug 2024 17:41:23 +0200 User-Agent: Mozilla Thunderbird Subject: [PATCH v4 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?= , Pawel Lenkow , Kirill Yatsenko References: <9c1f8fd4-a2a5-4f92-9e86-2cf0103b1908@camlingroup.com> In-Reply-To: <9c1f8fd4-a2a5-4f92-9e86-2cf0103b1908@camlingroup.com> X-ClientProxiedBy: WA2P291CA0009.POLP291.PROD.OUTLOOK.COM (2603:10a6:1d0:1e::6) To CWXP123MB5267.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:142::9) 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: CWXP123MB5267:EE_|CWXP123MB6192:EE_ X-MS-Office365-Filtering-Correlation-Id: 4567b62d-796b-4616-27f4-08dcc5e58b49 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?FQaqQT4VJqnZRLudp7lxwRcS81xL8DV?= =?utf-8?q?ArribpNy6bCExrWKtOOW9WtA9iKRpCVUGJoaf3rSgwHzYqVth+bzhxFMUjgqJwf4m?= =?utf-8?q?HHWKgkBFgd1seG7c30cJBO2iD5UTbkOxdLJH3Cj88pgQ5qxunoavNHABYokneDB1j?= =?utf-8?q?nyNE9CptU0co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Ejprksi06fZbw3lkaYGlMVzLzPzKkAGGIrtxQ5J41a6gwJ3UzAqoLm3HXnIN?= =?utf-8?q?D6JWspvEMIGZ+VNqC2H+TjbmmTfmlpokW3uejc42aSoqpcy2Z1KJ7AnnP/zzjj5Qq?= =?utf-8?q?GXlGNwQ8ko/x1/J6vsoISTbJSDtRRjctN5MhnqzoGn2Jf5iYr34tqCq06XVqYUNJ+?= =?utf-8?q?Xin8Kn/uuCHfyt48uMbVn31xmDCSRhHjjFBnsTPxJy72J7lJQxplA1igOg2nFmMhX?= =?utf-8?q?/LovFIoUOVFmrBGI4vicuZlc5WkNP7h1Opg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CWXP123MB5267.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?9k5/lb7gTmV0lJiEgTYQXpMM0IqK?= =?utf-8?q?1lQIOyMAaLJQsBS8X1UTwc2JQa4Qbqdb5ZPJEVA1tbDFa4mft8RIhCWFex5g9yfkY?= =?utf-8?q?GWrlu/FsNgYFuEGFR8I1whBNm5/9tuYIKut3cI9e3SgZgFaDiITeV4h3rYy1C746F?= =?utf-8?q?V4hUHQj+Q5Wa16ID7nXuL36j0hEy+ah6pPOKOhssnrNL+e5tXqJc81CMKe5Y6SM9a?= =?utf-8?q?A+v6yEpxqFREU5N0j1ZpC5BKA/kaRkIymVXU6CM1kyw8H5qrYDH5AFd5OMwUvA85u?= =?utf-8?q?3SJWGinPbAIXwR+FPCSN+7rkyXu5Z43SW+D23Nca8jOEIEnXqygEVDX0oipCyKJE/?= =?utf-8?q?ajUW5plXziM5oFXVILSb7PZpsCAtD6MBuBdLCsKh+wHHXTegSbBmjRGxkqcvn6Ln9?= =?utf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hU/oaMuRf+SGO1SiGNW6CVUR2uImkKBcnGV8N+EEnajjNIW8GUc1K?= =?utf-8?q?6LOAo2lhXomIbinmAqJyzhXHDx1LXqpNVIXrPA145qM4p0ggfMs0kho4QuifFAA1s?= =?utf-8?q?ycwlc03a16AIFo3nxCTHv006dfbVAU4pQObodV+DwHcpblTaC0+sTBmL1qUe01kIf?= =?utf-8?q?kgHcTrl4yhpAp6Q7IFmU+WtJATgOlc7OiNuFYlnmqrJJ4JkoMtlcmPwQ4MhXTd11v?= =?utf-8?q?M1eY8WxdVBgIA2k9j8oIWu2id016ZRnpKA=3D=3D?= X-OriginatorOrg: camlingroup.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4567b62d-796b-4616-27f4-08dcc5e58b49 X-MS-Exchange-CrossTenant-AuthSource: CWXP123MB5267.GBRP123.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 15:41:25.6347 (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: T97+352W3jS1KttRSiK/67dfTyo4zwmezPd6F3IABP721aBo29+kXcm5xYafP5r7gBdX7QAnTIAPOqoEsfgzFCtN+x2gq9J2gvMVgqk/EgM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWXP123MB6192 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