[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151004180944.GA499@kroah.com>
Date: Sun, 4 Oct 2015 19:09:44 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Guillaume Gomez <guillaume1.gomez@...il.com>
Cc: jslaby@...e.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tty: remove unneeded return from void function
On Tue, Sep 22, 2015 at 11:46:27PM +0200, Guillaume Gomez wrote:
> Signed-off-by: Guillaume Gomez <guillaume1.gomez@...il.com>
> ---
> drivers/tty/tty_ldisc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c
> index 71750cb..5af8f18 100644
> --- a/drivers/tty/tty_ldisc.c
> +++ b/drivers/tty/tty_ldisc.c
> @@ -319,7 +319,7 @@ __tty_ldisc_lock_nested(struct tty_struct *tty,
> unsigned long timeout)
>
> static inline void __tty_ldisc_unlock(struct tty_struct *tty)
> {
> - return ldsem_up_write(&tty->ldisc_sem);
> + ldsem_up_write(&tty->ldisc_sem);
> }
>
> static int __lockfunc
This patch is whitespace damaged and can not be applied :(
--
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