From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CC91EB8FAF for ; Wed, 6 Sep 2023 10:58:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbjIFK6K (ORCPT ); Wed, 6 Sep 2023 06:58:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjIFK6K (ORCPT ); Wed, 6 Sep 2023 06:58:10 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C82FF10C8; Wed, 6 Sep 2023 03:58:06 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBF4DC433C8; Wed, 6 Sep 2023 10:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1693997886; bh=7NWBFFeaDc5kT8Y4tg+pWiWspbiauLGDwmhKsxAfZMI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U/XlV/6UuVF4Qt76H9wMzbr4sojsNCHBX/lHJnRKS+ELy0BXI5uNyJ6i6mglloVx0 51pOvIHBe3Krn9iPW0Zxic92UplOJVWBIi6DWQHtRWIzkaQl0Mx3GXiWmvGiOf06VY C2mEw2Ewa5hNqikob57UuYhUuVxtcOw1Ve3RJQH8= Date: Wed, 6 Sep 2023 11:58:02 +0100 From: Greg Kroah-Hartman To: Ilpo =?iso-8859-1?Q?J=E4rvinen?= Cc: Hugo Villeneuve , Jiri Slaby , Hugo Villeneuve , LKML , linux-serial Subject: Re: [PATCH] serial: sc16is7xx: remove unused to_sc16is7xx_port macro Message-ID: <2023090642-density-durably-c3ef@gregkh> References: <20230905181649.134720-1-hugo@hugovil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Wed, Sep 06, 2023 at 01:47:10PM +0300, Ilpo Järvinen wrote: > On Tue, 5 Sep 2023, Hugo Villeneuve wrote: > > > From: Hugo Villeneuve > > > > This macro is not used anywhere. > > > > Signed-off-by: Hugo Villeneuve > > --- > > 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 f61d98e09dc3..d8534580c6d5 100644 > > --- a/drivers/tty/serial/sc16is7xx.c > > +++ b/drivers/tty/serial/sc16is7xx.c > > @@ -358,7 +358,6 @@ static struct uart_driver sc16is7xx_uart = { > > static void sc16is7xx_ier_set(struct uart_port *port, u8 bit); > > static void sc16is7xx_stop_tx(struct uart_port *port); > > > > -#define to_sc16is7xx_port(p,e) ((container_of((p), struct sc16is7xx_port, e))) > > #define to_sc16is7xx_one(p,e) ((container_of((p), struct sc16is7xx_one, e))) > > > > static int sc16is7xx_line(struct uart_port *port) > > > > base-commit: 3f86ed6ec0b390c033eae7f9c487a3fea268e027 > > Reviewed-by: Ilpo Järvinen > > Note that Greg might be happier if you wait next time until after the > merge window is closed before sending non-fixes patch like this. I just ignore them and add them to my review queue until after -rc1 is out, not a problem at all. thanks, greg k-h