[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160105122240.5e4ee037@lxorguk.ukuu.org.uk>
Date: Tue, 5 Jan 2016 12:22:40 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Pan Xinhui <xinhui@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, mnipxh@....com,
yanmin_zhang@...ux.intel.com
Subject: Re: [PATCH V2] tty/n_gsm.c: use gsm->num to remove mux itself from
gsm_mux[]
On Tue, 05 Jan 2016 15:42:52 +0800
Pan Xinhui <xinhui@...ux.vnet.ibm.com> wrote:
> From: Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>
>
> There is one filed gsm->num to store mux's index of gsm_mux[]. So use
> gsm->num to remove itself from gsm_mux[] instead of the for-loop
> traverse in gsm_cleanup_mux().
>
> Signed-off-by: Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>
Reviewed-by: Alan Cox <alan@...ux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists