Re: [PATCH] tty: remove unneeded return from void function

From: Greg KH
Date: Sun Oct 04 2015 - 14:10:00 EST


On Tue, Sep 22, 2015 at 11:46:27PM +0200, Guillaume Gomez wrote:
> Signed-off-by: Guillaume Gomez <guillaume1.gomez@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/