Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1094397rwl; Thu, 10 Aug 2023 06:27:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFB+Lib03FtsbYNYaJBzKtKtqFEKFfmGnjY1XQBuBDyrWIrGU5srh+MiDTIxPIv42uQkBfF X-Received: by 2002:a17:907:1def:b0:994:5457:269e with SMTP id og47-20020a1709071def00b009945457269emr2618018ejc.0.1691674055149; Thu, 10 Aug 2023 06:27:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691674055; cv=none; d=google.com; s=arc-20160816; b=gXHa83W+8hL1kTf80x+CGf1OYNSlS3vypilrwKGfC6lhb38caCXiVKgtFDaB0J4+yV JYb4/jkHNGTd3yBVaJ6cQKAkilofly7yKkjSM7TqZjiPHystWZObJ0du1tf266QXEROE D2Z3w09bUh1bSKgPZiAxDk+tKh76brc9Q5L5XmWAzqcvk6XQTW20jrEU3IH+Rz6azRFd jt+CqGkfrr6aAQHhInJqZ8ekxU5jEs8+ozRBc1wOFAXEOeaet+FCFlh9gWVmEGcm3OYr Lm/IylyMfe1GmDe+kgBmOzmtjxsfZyrTLGVYq9x8HhQTzgxiavKZrpwosgYX84JUunQi kRzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=r9vkH0qyALcGdJXi476zLeBAUKcf5jFE0hRhwzDsk6o=; fh=KqDoQx0aoUdrxTLxU/Oc4TTZJ7WmdOJKg0gpmOyFkYo=; b=bgbQO4cyjOvFWsZF0FdfeCPJxX6pvC8lgNa/6GlmTPYbaqr36OIxWG7wb4ZxeQ9yRi JRitjNlZ7vwZG97ybFeMMM6dgIh6oFrvPCg4Y5H90wazK5gpjlSBaB0nZmjVnloytnT9 SXvyqv36BwZA+MPIEiA6YDDWSK18FJ3yiBnppMBLtt1Kvey4MII+p2yJN5Spigva0ziq tjVNs63HOWZCwF6NnFH84pUynK5KeLgDNH5Ap9OtJLC/Hc/SvhiBKPv4bG/5WL9Ah7mp 0wRZLVrg8vWeie1DcWK8SwqTiAv11D5+BnfLb5jWvPq+sUPwjNFuysFZWQcosqWefuYS PaXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EkMnV8P7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a1709061f1400b00992feaebee8si1421468ejj.943.2023.08.10.06.27.10; Thu, 10 Aug 2023 06:27:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EkMnV8P7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233909AbjHJMhq (ORCPT + 99 others); Thu, 10 Aug 2023 08:37:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232062AbjHJMhp (ORCPT ); Thu, 10 Aug 2023 08:37:45 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50D0D1B4; Thu, 10 Aug 2023 05:37:45 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6b9a2416b1cso838563a34.2; Thu, 10 Aug 2023 05:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691671064; x=1692275864; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=r9vkH0qyALcGdJXi476zLeBAUKcf5jFE0hRhwzDsk6o=; b=EkMnV8P7+dTgYEUW9GmPoATMW5SwYOsAAUEw5gC2SKDsFigdoSRpce0Mmz35fjVHT9 0heaokZlsIGqon12YgPz/GPrwSCo3eqssCJThGBs1lfy0GLWI5H+Kl2smfWsgUgB4D1e z7ZjL3hFafN6q3jTcF2uO6GzoVeHIog3P/qXrY5Un/87gJTOfsc2Tqa9ucqDzpMhqSyv 61TVwWWa55N99Wf1jr/fjXcBV8SLaC1gJD+v3Y4TrzrtYVZHqHv3QLrexfr/50GNBJvo IU2rq0ndxPWoOVsh6ywtokSPGVwdpeSeW+wVpAwU3tM6pqdexxcjP41KB9m7/2J82pOH 6VBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691671064; x=1692275864; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r9vkH0qyALcGdJXi476zLeBAUKcf5jFE0hRhwzDsk6o=; b=lX5KNAPGdLyz9sxHXepJPnq8l+Oywvb8LaucsPJdiKecr1Cah2lsoQsJjWpQwR4UzE cBxZrJEY1XFKwTMB0VHTTHGs7pcoxATwvd7WekL8c949m4ROYsmnpjaLIqcmm8Qm42LJ aRX+P1PXH/qxQo4ch6Q6/WFPGT1oWd39rRRjUp7husBb45sDqISRHoTRarhRJ+vSurAD emYyjhETPLz/v4QyCmYbYRkSZQU3AK7PfHAhhJNcYxTflAJjZhMdqlkYVm1tUGsz/5H1 27VxP3AH7WITHzpoPOZxrQRYQLaYS07gibku32GDT0wDdh/tzJSoa9zVzciPSvpPG4xP r3NA== X-Gm-Message-State: AOJu0Yz9wWDMKi8bAD3dRxapmYyvQyT4u6c+67etC7xGxq6sZY/xmDWG 0JvpfVqlgBnDjh6OYHUO1ru3GMfdzw57XIjy5aY= X-Received: by 2002:a9d:7517:0:b0:6bc:f276:717f with SMTP id r23-20020a9d7517000000b006bcf276717fmr2771951otk.13.1691671064642; Thu, 10 Aug 2023 05:37:44 -0700 (PDT) MIME-Version: 1.0 References: <20230810091510.13006-1-jirislaby@kernel.org> <20230810091510.13006-2-jirislaby@kernel.org> In-Reply-To: <20230810091510.13006-2-jirislaby@kernel.org> From: Max Filippov Date: Thu, 10 Aug 2023 05:37:33 -0700 Message-ID: Subject: Re: [PATCH 01/36] tty: xtensa/iss: drop unneeded tty_operations hooks To: "Jiri Slaby (SUSE)" Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Zankel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 10, 2023 at 2:15=E2=80=AFAM Jiri Slaby (SUSE) wrote: > > All ::flush_chars(), ::hangup(), and ::wait_until_sent() from struct > tty_operations are optional. There is no need to provide them with > empty bodies. > > tty_operations::put_char() needs not be provided if it is the same as > tty_operations::write(tty, &ch, 1). > > So drop all of them. > > Signed-off-by: Jiri Slaby (SUSE) > Cc: Chris Zankel > Cc: Max Filippov > --- > arch/xtensa/platforms/iss/console.c | 24 ------------------------ > 1 file changed, 24 deletions(-) Acked-by: Max Filippov --=20 Thanks. -- Max