lkml.org 
[lkml]   [2015]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.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 :(


\
 
 \ /
  Last update: 2015-10-04 20:41    [W:0.031 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site